In order to describe the HFETR core with MCNP method,the interface code MCNPIP for HFETR and MCNP code is developed.This paper introduces the core DXSY and flow chart of MCNPIP code,and the handling of compositions of fuel elements and requirements on hardware and software.Finally,MCNPIP code is validated against the practical application.