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。
Metadata
Release files for judian-poetry-mcp 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| judian_poetry_mcp-1.0.5.tar.gz | 10.1 kB | Without provenance | Details for judian_poetry_mcp-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| judian_poetry_mcp-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for judian_poetry_mcp-1.0.5-py3-none-any.whl |
Total release size: 20.1 kB
Release files / judian_poetry_mcp-1.0.5.tar.gz
| Download URL | judian_poetry_mcp-1.0.5.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c25f2b73e4282ca91f00fdbeb92418a983beed75b0bf92836611891d5c384783
|
|
BLAKE2b-256 checksum How to use checksums |
4144fa9561095ada0ace30823f4e786f9568d356665a6d4c221ade8b930f0f14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / judian_poetry_mcp-1.0.5-py3-none-any.whl
| Download URL | judian_poetry_mcp-1.0.5-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00bd536d3c280a094cc82d6562482620b7f8fd5146afd839c4126bb49ce19c7a
|
|
BLAKE2b-256 checksum How to use checksums |
4ba17de1ac37f806584008c50323b653b3457a3395972eb9946fd9b5ae907e79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for judian-poetry-mcp 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.