home / mcp / kpic mcp server

KPIC MCP Server

약학정보원 MCP 서버

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "antegral-kpic-mcp": {
      "command": "node",
      "args": [
        "/path/to/kpic-mcp/dist/index.js"
      ]
    }
  }
}

The KPIC MCP Server provides programmatic access to Korea Pharmaceutical Information Center data, letting you search for medicines by name and retrieve detailed drug information through an MCP client. This server enables seamless integration of pharmaceutical data into your workflows or applications.

How to use

You can use this server with any MCP client by calling its two exposed endpoints. First, you can search for medicines by name to get a list of candidates with basic details. Then, you can fetch a selected medicine’s detailed information using its code from the initial results. Use these capabilities to build drug lookup features in your own apps or research tools.

Practical usage patterns include: 1) Quick药 lookups by English or Korean drug names to obtain basic information like manufacturer and indications. 2) Retrieve comprehensive details for a specific medicine, including ingredients, excipients, storage instructions, warnings, and pregnancy/breastfeeding considerations. 3) Combine search results with detail lookups to present a smooth browsing experience for end users.

How to install

Prerequisites: Node.js 18+ is required to run the MCP server. You will also need pnpm as the package manager.

Install dependencies for the KPIC MCP Server

pnpm install

Build the server to generate the distributable files

pnpm build

Run the server in normal mode

pnpm start

Run the server in development mode

pnpm dev

Run tests to verify functionality

pnpm test

Available tools

search_drugs_by_name

Searches for drugs by name in English or Korean and returns a list of matching medicines with basic details such as product name, manufacturer, indications, and dosage information.

get_drug_detail_by_id

Fetches detailed information for a specific drug using its drug code, returning comprehensive data including ingredients, excipients, storage, warnings, and pregnancy/breastfeeding information.