Yuandian
FreeNot checked元典开放平台 MCP Server 是面向法律与企业数据场景的标准化 MCP 接入服务,支持法律法规查询、案例文书检索和企业信息获取,帮助智能体快速接入权威法律数据能力。
About
元典开放平台 MCP Server 是面向法律与企业数据场景的标准化 MCP 接入服务,支持法律法规查询、案例文书检索和企业信息获取,帮助智能体快速接入权威法律数据能力。
README
简体中文 | English
元典开放平台 MCP Server
这个 MCP Server 会在启动时读取元典开放平台接口目录,并把开放接口动态注册成 MCP tool,方便支持 MCP 的 AI 客户端直接调用法律数据与服务。业务接口会转发到 https://open.chineselaw.com/open/{routeKey},并使用 X-API-Key 头鉴权。
获取 API Key
使用前需要访问 元典开放平台 注册或登录,并在平台中获取 API Key。
平台活动:2026 年 4 月 27 日至 2026 年 7 月 26 日期间,每月赠送 50,000 积分权益包。具体活动规则以元典开放平台页面为准。
快速开始
YUANDIAN_API_KEY="你的_api_key" npx -y yuandian-mcp-server
也可以先安装到当前项目:
npm install yuandian-mcp-server
YUANDIAN_API_KEY="你的_api_key" npx yuandian-mcp-server
或全局安装后直接运行:
npm install -g yuandian-mcp-server
YUANDIAN_API_KEY="你的_api_key" yuandian-mcp-server
Node.js 版本需为 20 或更高。
MCP 客户端配置示例
{
"mcpServers": {
"yuandian-mcp-server": {
"command": "npx",
"args": ["-y", "yuandian-mcp-server"],
"env": {
"YUANDIAN_API_KEY": "你的_api_key"
}
}
}
}
环境变量
YUANDIAN_API_KEY:元典开放平台 API Key。
注册的工具
yuandian_list_apis:查看启动时发现的接口清单。yuandian_get_api_document:读取某个接口的 Markdown 文档。yuandian_{routeKey}:动态注册的业务接口工具,例如yuandian_law_vector_search、yuandian_rh_enterpriseSearch。
相关链接
| 分类 | 链接 |
|---|---|
| 公司 | 关于我们 · 联系我们 |
| 产品功能 | API 广场 · MCP Server · 接口文档 · 新站福利 |
| 元典生态 | 元典智库 · 元典 Amicus · 元典脱敏 · 法律元力 |
Installing Yuandian
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/yuandian-ailaw/yuandian-mcp-serverFAQ
Is Yuandian MCP free?
Yes, Yuandian MCP is free — one-click install via Unyly at no cost.
Does Yuandian need an API key?
No, Yuandian runs without API keys or environment variables.
Is Yuandian hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Yuandian in Claude Desktop, Claude Code or Cursor?
Open Yuandian on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Yuandian with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
