MCP Drugsea
MCP server by kinginsun Verified · npm:@kinginsun
MCP Drugsea gives AI assistants search access to DrugSea and Yaohai pharmaceutical databases. It covers cross-database search, China marketed products and CDE registration review data. It is aimed at users with a DrugSea account and a personal token.
Install MCP Drugsea
Built from the published package, never by AI.
claude mcp add mcp-drugsea -- npx -y @kinginsun/mcp-drugseaRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-drugsea": {
"args": [
"-y",
"@kinginsun/mcp-drugsea"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-drugsea": {
"args": [
"-y",
"@kinginsun/mcp-drugsea"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-drugsea": {
"args": [
"-y",
"@kinginsun/mcp-drugsea"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-drugsea -- npx -y @kinginsun/mcp-drugsea{
"mcpServers": {
"mcp-drugsea": {
"args": [
"-y",
"@kinginsun/mcp-drugsea"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-drugsea npx -y @kinginsun/mcp-drugseaGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-drugsea block.
About
MCP Drugsea is a stdio MCP server for the DrugSea and Yaohai pharmaceutical databases at db.drugsea.cn. It forwards tool calls to the DrugSea API and covers three groups of tools: yaohai cross-database catalog, search, detail and facets; product-cn tools for already marketed China products; and reg-cn tools for CDE registration and review data. It runs with npx or a global npm install.
Requests authenticate with a personal user token (ysk_ plus 32 hex characters) set as YAOHAI_MCP_TOKEN. The token inherits the permissions of the Yaohai account. The server is published on npm as @kinginsun/mcp-drugsea and checks for updates on launch. It is aimed at DrugSea users who work with Chinese drug listings, registrations and related databases.
Written from the project's README and checked against it.
Tools it gives your assistant
yaohai-catalogLists available databases, filtered by category or keyword.yaohai-searchSearches a chosen Yaohai database and can export results to xlsx.yaohai-detailReturns the detail record for an item in a Yaohai database.yaohai-facetsReturns facet buckets or lists facet-capable fields for databases.yaohai-global-searchShows per-database hit counts for a term across all databases.product-cn-searchSearches already marketed China products, with optional xlsx export.product-cn-detailReturns the detail record for a marketed China product.product-cn-facetsReturns facet buckets for product-cn query results.reg-cn-searchSearches CDE registration and review records, with optional xlsx export.reg-cn-detailReturns the detail record for a CDE registration entry.
What you need
- A DrugSea (Yaohai) account at db.drugsea.cn
- A personal user token starting with ysk_
- Account permissions for the databases you want to query
- npm or npx to install the server
Try asking
- Search DrugSea for marketed China products with ATC code L
- Find CDE drug registrations under review that are not yet listed
- Compare hit counts for a drug term across all DrugSea databases
Good to know
- One query condition returns at most 1000 rows.
- Excel export works only when the result total is 1 to 999.
- yaohai-global-search does not support Excel export.
- Each account can generate up to 10 tokens.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to MCP Drugsea
All alternatives →Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.
RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.
ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.
Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.
ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.
Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.
Compare with Mirobody, Ruview or tooluniverse
MCP Drugsea: common questions
How do I get a DrugSea API token for this MCP server?
Log in at db.drugsea.cn with WeChat QR scan, open the personal center, and click API Token to generate one. Tokens look like ysk_ followed by 32 hex characters.
Why does a DrugSea MCP tool return a permission error?
A token has the same database permissions as its Yaohai account. Check the account subscription on db.drugsea.cn, not the MCP client.
Does mcp-drugsea support the old shared API key header?
No. The source says only personal user tokens are supported, and the legacy X-Yaohai-Api-Key header is not supported.
How do I install MCP Drugsea?
In Claude Code run claude mcp add mcp-drugsea -- npx -y @kinginsun/mcp-drugsea. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCP Drugsea the official server?
MCP Drugsea is published by npm:@kinginsun from its verified domain in the official MCP Registry.
Is MCP Drugsea free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is MCP Drugsea safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to MCP Drugsea?
Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.
Does MCP Drugsea work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
