About Chinese Poetry API
Chinese Poetry API is an MCP server published by palemoky in the RAG category: 📜 诗泉:支持语义搜索的高性能中国古诗词 API 服务. Conduid read 6 tools from its source: get_author, get_statistics, list_poems, random_poem, search_poems and search_poems_by_meaning. No package is published for it, so it installs from a source checkout.
The repository has 3.8K stars and 502 forks, is licensed GPL-3.0, and its last commit was on 6 Nov 2026. The latest release is v0.8.0 (2 Nov 2026): ✨ 新功能 search: 关键词搜索支持按朝代筛选,REST 用 dynasty 或 dynasty_id,GraphQL 用 dynastyId,MCP 用 dynasty (bcc55d7) api: [破坏性变更] 不再返回诗词 ID,GraphQL 移除 Poem.id 字段与 poem(id:) 查询:诗词 ID 每次数据发… It follows v0.7.0 (2 Nov 2026), and the 5 most recent releases go back to v0.4.0 (14 Dec 2025). It passes all 5 static checks Conduid ran on the repository. Its topics include api, chinese, graphql, poetry and semantic-search.
Install
git clone https://github.com/palemoky/chinese-poetry-apiTools (6)
get_authorLook up an author's biography and poem count by name.get_statisticsGet corpus totals and the dynasties and poetry types available as filters, with poem counts.list_poemsList poems filtered by author, dynasty and poetry type.random_poemPick one random poem, optionally by author, dynasty and poetry type, or containing a given character.search_poemsFind poems containing a literal substring in their title, content or author name. Does not match by meaning. Results are ordered by relevance: exact title (or the tune name before a separator) first, then title, author name and content matches.search_poems_by_meaningFind poems by meaning from a description in any language: a theme, a scene, a feeling or a half-remembered line. Returns candidates ranked by combined meaning and literal match; read them and pick the ones that fit, the best is often not first.Security checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 751 words.
- ✓License declaredThe repository declares the GPL-3.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by go.sum.
- ✓No dynamic code executionScanned 74 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
What the source scan found
- Transport
- Streamable HTTPinternal/mcpserver/server.go:55
- Starts other programs
- 1 calleval/semantic/client_rerank.py:52
- Outbound network calls
- 4 callsinternal/embedding/client.go:37, internal/embedding/client.go:103, eval/semantic/embed_eval.py:63
- Writes or deletes files
- 16 callscmd/processor/main.go:162, cmd/processor/main.go:176, eval/semantic/client_rerank.py:126
- Lockfile
- go.sum
Pattern matches on the source text of 74 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 751 words, fetched yesterday. The original in the repository is authoritative.
Read full README