io.github.lacausecrypto/poetrydb
PoetryDB MCP Server
PoetryDB를 통해 고전 시를 탐색하는 비공식 MCP 서버입니다.
한눈에 보기
항목 | 값 |
도구 | 12 |
카테고리 | 3 |
전송 방식 | stdio |
인증 | 없음 |
MCP 레지스트리 이름 |
|
npm 패키지 |
|
소스 API |
|
콘텐츠 | 작가, 제목, 행 텍스트, 형식별 고전 시 |
Related MCP server: io.github.FreyaBit/shanghai-library-open-data-mcp
설치
npm install -g mcp-poetry또는 소스에서:
npm install
npm run buildMCP 레지스트리
이 서버는 MCP 레지스트리에 다음 이름으로 게시되어 있습니다:
io.github.lacausecrypto/poetrydbClaude Desktop
{
"mcpServers": {
"poetrydb": {
"command": "npx",
"args": ["-y", "mcp-poetry"]
}
}
}로컬 체크아웃의 경우 명령어를 다음으로 바꾸세요:
{
"mcpServers": {
"poetrydb": {
"command": "node",
"args": ["/absolute/path/to/mcp-poetrydb/dist/index.js"]
}
}
}도구
카탈로그
catalog_overview: 카테고리 및 사용 가능한 도구 나열catalog_category: 특정 카테고리의 도구 표시
검색
search_by_author: 작가 이름으로 시 찾기search_by_title: 제목으로 시 찾기search_by_lines: 시 행 내부 텍스트 검색search_by_linecount: 정확한 행 수로 시 찾기search_combined: 한 요청에서 여러 PoetryDB 필드 쿼리list_authors: 사용 가능한 모든 작가 나열
탐색
random_poem: 무작위 시 하나 이상 가져오기get_sonnets: 14행 시 가져오기get_haikus: 3행 시 가져오기list_titles: 시 제목 나열
요청 예시
간단한 예시
Random poem please.예상 도구:
random_poem({ "count": 1 })둘러보기
Show me the available poets.예상 도구:
list_authors({})대상 검색
Find Ozymandias.예상 도구:
search_by_title({ "title": "Ozymandias" })텍스트 검색
Show me poems containing the word "love".예상 도구:
search_by_lines({ "text": "love" })형식 기반 탐색
Give me 14-line poems by Shakespeare.예상 도구:
search_combined({ "fields": "author,linecount", "values": "Shakespeare;14" })더 고급 예시
List Shakespeare results, but only return title and linecount.예상 도구:
search_by_author({ "author": "Shakespeare", "fields": "title,linecount" })다단계 탐색
Start with the catalog, then show me the discovery tools, then give me a sonnet.일반적인 도구 순서:
catalog_overview({})
catalog_category({ "category_id": "discovery" })
get_sonnets({})개발
npm run build
npm run test:ci
npm test
npm pack --dry-run환경 변수:
POETRYDB_BASE_URLPOETRYDB_REQUEST_TIMEOUT_MSPOETRYDB_REQUEST_RETRIES
참고 사항
API 키가 필요 없습니다.
이 패키지는 PoetryDB와 제휴 관계가 아닙니다.
맞춤형 PoetryDB 통합보다 간결한 stdio 서버를 선호하는 MCP 클라이언트를 위해 제작되었습니다.
MCP 레지스트리 ID:
io.github.lacausecrypto/poetrydb
출처 표기
PoetryDB: poetrydb.org
업스트림 프로젝트: thundercomb/poetrydb
추가 구현 참고 사항은 documentation.md에 있습니다.
Available Tools
12 toolscatalog_categorycatalog_categoryB
Show the tools and description for a specific category.
Inputs: category_id (required).
catalog_overviewcatalog_overviewA
Overview of all PoetryDB MCP tools. Start here to discover categories.
Inputs: no named parameters.
get_haikusget_haikusC
Find 3-line poems, optionally filtered by author.
Inputs: author.
get_sonnetsget_sonnetsA
Find 14-line sonnets, optionally filtered by author.
Inputs: author.
list_authorslist_authorsA
List all available authors in PoetryDB.
Inputs: no named parameters.
list_titleslist_titlesA
List all poem titles in PoetryDB.
Inputs: no named parameters.
random_poemrandom_poemA
Get one or more random poems.
Inputs: count.
search_by_authorsearch_by_authorA
Find poems by author name. Supports exact or partial author matches.
Inputs: author (required), fields.
search_by_linecountsearch_by_linecountB
Find poems with a specific number of lines.
Inputs: linecount (required).
search_by_linessearch_by_linesA
Search for poems containing specific text in their lines.
Inputs: text (required).
search_by_titlesearch_by_titleC
Find a poem by title. Supports exact or partial title matches.
Inputs: title (required).
search_combinedsearch_combinedB
Run a combined PoetryDB search across multiple fields.
Inputs: fields (required), values (required), output.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools have clearly distinct purposes, but get_sonnets and get_haikus overlap with search_by_linecount since 14-line and 3-line poems are special cases. An agent might be unsure whether to use the specialized get_* tools or the more general search_by_linecount.
Tool naming mixes several patterns: catalog_* (catalog_overview, catalog_category), search_by_* (search_by_author, search_by_title, etc.), list_* (list_authors, list_titles), get_* (get_sonnets, get_haikus), and random_poem (no prefix). This inconsistency can make tool selection less predictable.
With 12 tools, the count is well within the expected range for a domain-specific server. Each tool serves a distinct function and none feels superfluous or excessive for a poetry database.
The toolset covers searching, listing, and random access, along with helpful meta-tools for discovery. Minor gaps include the lack of a direct 'get poem by ID' or 'get full poem content' endpoint, which forces reliance on search results. Overall, the surface is reasonably complete for common poetry browsing workflows.
Maintenance
Related MCP Connectors
MCP server for classical Chinese poetry: search poems by title, author, dynasty or verse, with full
Search and read the aicoolies catalog of AI and developer tools via a remote MCP knowledge graph.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables searching and retrieving poems from the PoetryDB API by title, keyword, or author, and also provides random poems for inspiration.9 npmMIT
- AlicenseBqualityDmaintenanceExposes 97 official Shanghai Library open data APIs and the Sou-Yun poetry database (1.99 million poems) as 12 MCP tools, covering genealogy, ancient books, calligraphy, historical buildings, and more. Enables MCP clients to query these datasets using natural language.1231 PyPI4MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to explore a public-domain poetry collection by searching poems by title, finding poems whose lines contain a given phrase, pulling one or more random poems, and listing available authors. It returns full poem text with author and line-count details, and works either through a hosted gateway or as a local stdio server without an account.81 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables users to search Chinese poems by title, content, author, dynasty, or category; check recitations and dictation; generate appreciation text; create TTS recitations with subtitles; and produce calligraphy practice sheets.MIT