Local Stdio MCP server for Judian poetry OpenAPI.
Project description
judian-poetry-mcp
聚典诗文数据库本地 Stdio MCP 服务,适用于 Kimi Code CLI、Claude Code、Claude Desktop、Codex CLI、Trae、Cursor、Windsurf、Cline 等 MCP 客户端。
当前版本:1.0.5
简介
本 MCP 将聚典诗文 OpenAPI 封装为本地工具。所有 HTTPS 请求都从用户本机发出,用于满足聚典授权阶段的 IP 白名单校验要求。
安全设计:
clientSecret保存到系统钥匙串。- MCP 客户端配置里不保存聚典密钥。
- 不调用赏析接口,因为该接口当前返回加密文本。
快速安装
python -m venv "$env:USERPROFILE\.judian-mcp"
& "$env:USERPROFILE\.judian-mcp\Scripts\python.exe" -m pip install --upgrade pip
& "$env:USERPROFILE\.judian-mcp\Scripts\python.exe" -m pip install judian-poetry-mcp
& "$env:USERPROFILE\.judian-mcp\Scripts\python.exe" -m judian_mcp_server setup
常用 MCP 客户端
kimi mcp add --transport stdio judian-poetry-db -- "$env:USERPROFILE\.judian-mcp\Scripts\python.exe" -m judian_mcp_server
kimi mcp test judian-poetry-db
claude mcp add --transport stdio --scope user judian-poetry-db -- "$env:USERPROFILE\.judian-mcp\Scripts\python.exe" -m judian_mcp_server
claude mcp get judian-poetry-db
Trae、Cursor、Windsurf、Cline 等支持 mcpServers JSON 的客户端,可使用 用户安装说明.md 中的通用 stdio 配置。
工具列表
| 工具 | 用途 |
|---|---|
search_poetry |
搜索诗文 |
get_poetry_details |
获取诗文详情、正文、注释 |
get_poetry_translation |
获取译文 |
get_poetry_tags |
获取标签 |
search_poetry_authors |
搜索诗人 |
get_poetry_author_details |
获取诗人详情 |
自检
& "$env:USERPROFILE\.judian-mcp\Scripts\python.exe" -m judian_mcp_server doctor
& "$env:USERPROFILE\.judian-mcp\Scripts\python.exe" -m judian_mcp_server config-path
完整安装、凭证配置和常用 MCP 客户端配置方法见 用户安装说明.md,发布流程见 发布说明.md。
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file judian_poetry_mcp-1.0.5.tar.gz.
File metadata
- Download URL: judian_poetry_mcp-1.0.5.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c25f2b73e4282ca91f00fdbeb92418a983beed75b0bf92836611891d5c384783
|
|
| MD5 |
4cdb1b39e961b33511546cd1dcd6c8d1
|
|
| BLAKE2b-256 |
4144fa9561095ada0ace30823f4e786f9568d356665a6d4c221ade8b930f0f14
|
File details
Details for the file judian_poetry_mcp-1.0.5-py3-none-any.whl.
File metadata
- Download URL: judian_poetry_mcp-1.0.5-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00bd536d3c280a094cc82d6562482620b7f8fd5146afd839c4126bb49ce19c7a
|
|
| MD5 |
bff2df1ed9866cd12dfc604ed1aa0337
|
|
| BLAKE2b-256 |
4ba17de1ac37f806584008c50323b653b3457a3395972eb9946fd9b5ae907e79
|