TCM MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TCM MCP Server search for formulas for insomnia"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🏮 TCM MCP Server
倪海厦经方体系 · AI中医知识引擎
通过 MCP (Model Context Protocol) 协议,让 AI 助手获得专业中医知识:草药查询、方剂检索、针灸取穴、六经辨证。
特性
🌿 15味核心经方草药 — 性味归经/功效/经典药对/倪师注解
📜 14首伤寒金匮核心方 — 组成/适应证/六经归属/方歌/禁忌
📍 13个常用穴位 — 定位/针法/主治/四总穴诀
🏥 六经辨证框架 — 输入症状→判定经证→推荐方剂
⚠️ 配伍禁忌检查 — 十八反/十九畏
Related MCP server: HowToCook-MCP Server
安装
pip install -e .或
uv pip install -e .使用
接入 Claude Code
在 settings.json 中添加:
{
"mcpServers": {
"tcm": {
"command": "uv",
"args": ["run", "--directory", "/path/to/tcm-mcp-server", "tcm-mcp"]
}
}
}可用工具
工具 | 功能 | 示例 |
| 搜索草药 | "桂枝", "解表", "温里", "头痛" |
| 搜索方剂 | "小柴胡汤", "太阳病", "失眠" |
| 搜索穴位 | "足三里", "胃经", "腰痛", "肚腹" |
| 六经辨证 | "发热恶寒汗出脉浮缓" |
| 配伍禁忌检查 | ["附子", "半夏", "甘草"] |
| 知识体系概览 | (无参数) |
可用 Resources
tcm://categories/herbs— 草药按功效分类tcm://categories/formulas— 方剂按功效分类tcm://meridians— 穴位按经络分类tcm://six-channels— 六经辨证完整框架
可用 Prompts
tcm-diagnosis— 辅助中医辨证论治formula-analysis— 分析方剂组成和配伍规律
数据来源
基于倪海厦(1954-2012)汉唐中医体系:
《伤寒论》六经辨证
《金匮要略》杂病证治
《神农本草经》药物体系
《针灸大成》经络腧穴
扶阳理论、汉唐处方体系
路线图
核心草药/方剂/穴位数据
六经辨证诊断工具
配伍禁忌检查
更多草药和方剂(目标100+味草药,50+首方)
医案数据库(症状→方剂疗效)
舌诊/脉诊辅助描述
Web 界面(面向中医学生的AI学习工具)
许可
MIT
Available Tools
6 toolsdiagnose_six_channel六经辨证A
基于倪海厦六经辨证体系,根据输入的症状判断属于哪一经病,推荐对应经方。输入症状如'发热恶寒汗出脉浮缓'或'寒热往来胸胁苦满口苦'。
Inputs: symptoms (required).
get_formula_compatibility方剂配伍禁忌检查A
检查两味或以上的中药是否存在配伍禁忌(如十八反、十九畏)。输入草药名列表。
Inputs: herbs (required).
get_tcm_overviewTCM知识体系概览A
获取倪海厦中医体系的整体概览:三纪体系(天纪/人纪/地纪)、六经辨证框架、扶阳理论核心、常用经方分类、针灸体系。适合刚接触中医想了解整体架构的场景。
Inputs: no named parameters.
search_acupoints搜索针灸穴位A
按名称、归经、主治搜索穴位。支持穴位名('足三里')、归经('胃经')、主治('头痛'/'失眠')、四总穴诀('肚腹/面口/头项/腰背')。返回定位、针法、主治、倪海厦注解。
Inputs: query (required).
search_formulas搜索方剂A
按名称、适应证、关键词、六经归属搜索经方。支持中文名('小柴胡汤')、适应证('头痛')、关键词('少阳病')。返回方剂详细信息含组成、功效、主治、六经归属、禁忌、方歌、倪海厦注解。
Inputs: query (required).
search_herbs搜索草药A
按名称、功效、归经搜索中药。支持中文名(如'桂枝')、拼音('Gui Zhi')、功效('解表')、主治('头痛')。返回草药详细信息含性味、归经、功效、用量、禁忌、经典药对、倪海厦注解。
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a unique purpose: diagnosis, compatibility checking, overview, searching acupoints, formulas, and herbs. There is no overlap or ambiguity.
All tools use snake_case with a verb_noun pattern (diagnose_, get_, search_). Minor inconsistency with 'get_formula_compatibility' (adjective instead of noun) but overall consistent.
6 tools is ideal for a specialized TCM server. It covers core functionalities: diagnosis, compatibility, overview, and three search tools, without being too many or too few.
The tool set covers key TCM tasks: symptom diagnosis, herb compatibility, and searching for acupoints, formulas, and herbs. Minor gaps like patient case management or treatment planning are absent but acceptable for a general-purpose tool.
Maintenance
Related MCP Connectors
Look up Traditional Chinese Medicine (TCM) Tuina massage styles, meridian acupoints & phrases.
Deterministic BaZi and Chinese metaphysics tools for AI agents: charts, divination, almanac.
Evidence-based acupuncture protocol matcher – search symptoms, match protocols, browse acupoints.
China A-share data for AI agents: 57 read-only tools plus 6 tools for your own watchlist.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables querying of Chinese-Western medicine interactions with comprehensive drug information, risk assessment, and clinical recommendations. Supports searching medicines, checking interactions individually or in batches, and provides safety guidance with severity classifications.MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to recommend recipes, plan weekly meals, and solve the "what to eat today" problem by providing access to a comprehensive Chinese recipe database with smart filtering by categories, allergies, and dietary restrictions.56,244 npmISC
- AlicenseAqualityCmaintenanceEnables AI agents to perform Chinese metaphysics calculations including BaZi charts, Tong Shu indicators, solar terms, and more, using a verified engine with 740+ tests.88MIT
- FlicenseNot gradedqualityDmaintenanceMCP server exposing a medical knowledge graph (289 Western drugs, 204 TCM drugs, diseases, symptoms) as MCP tools. Enables AI agents to search drugs, check drug compatibility, and query symptoms-to-medication recommendations locally.-