PoetryDB MCP Server

io.github.lacausecrypto由 GitHub 帳號 lacausecrypto 發布v1.0.1更新於 Oct 24, 2026

Classic poetry search and discovery via PoetryDB.

概覽

AI 產生的概覽

一個非官方的本機 MCP 伺服器,讓助理依作者、標題、詩句文字與體裁檢索並瀏覽 PoetryDB 上的經典詩歌。

可以做什麼
依作者、標題、詩句中的文字、確切行數或組合多個欄位搜尋詩歌,並列出所有作者或標題。依體裁探索詩歌,例如十四行詩與三行俳句,或隨機取得詩歌。檢視伺服器本身的分类與工具目錄。
適用情境
適合讓助理查找、引用或探索公版經典詩歌,而不必自行串接 PoetryDB,例如依標題找詩或瀏覽詩人清單。
執行需求
透過 stdio 在本機執行,通常以 npx 搭配 npm 套件 mcp-poetry,或以 Node.js 執行本機建置。不需要 API 金鑰或帳號。需要連線至 PoetryDB API 的網路;可用 POETRYDB_BASE_URL、POETRYDB_REQUEST_TIMEOUT_MS 與 POETRYDB_REQUEST_RETRIES 設定基礎網址、請求逾時與重試次數。
安裝前請注意
對第三方公開 API 的唯讀查詢,詩歌查詢內容會傳送至 PoetryDB。本專案為非官方專案,與 PoetryDB 無關聯。覆寫 POETRYDB_BASE_URL 會將請求導向其他主機。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 PoetryDB MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

PoetryDB MCP Server

[npm version] [CI] [npm total downloads] [Node.js] [License: MIT]

Unofficial MCP server for exploring classic poetry through PoetryDB.

At a glance

MetricValue
Tools12
Categories3
Transportstdio
Authnone
MCP Registry nameio.github.lacausecrypto/poetrydb
npm packagemcp-poetry
Source APIhttps://poetrydb.org
Contentclassic poetry by author, title, line text, and form

Install

bash
npm install -g mcp-poetry

Or from source:

bash
npm installnpm run build

MCP Registry

This server is published to the MCP Registry under:

text
io.github.lacausecrypto/poetrydb

Claude Desktop

json
{  "mcpServers": {    "poetrydb": {      "command": "npx",      "args": ["-y", "mcp-poetry"]    }  }}

For a local checkout, replace the command with:

json
{  "mcpServers": {    "poetrydb": {      "command": "node",      "args": ["/absolute/path/to/mcp-poetrydb/dist/index.js"]    }  }}

Tools

Catalog

  • catalog_overview: list categories and available tools
  • catalog_category: show tools for a specific category

Search

  • search_by_author: find poems by author name
  • search_by_title: find a poem by title
  • search_by_lines: search text inside poem lines
  • search_by_linecount: find poems by exact line count
  • search_combined: query multiple PoetryDB fields in one request
  • list_authors: list all available authors

Discovery

  • random_poem: fetch one or more random poems
  • get_sonnets: fetch 14-line poems
  • get_haikus: fetch 3-line poems
  • list_titles: list poem titles

Example requests

Simple

text
Random poem please.

Expected tool:

text
random_poem({ "count": 1 })

Browse

text
Show me the available poets.

Expected tool:

text
list_authors({})

Targeted search

text
Find Ozymandias.

Expected tool:

text
search_by_title({ "title": "Ozymandias" })

Text search

text
Show me poems containing the word "love".

Expected tool:

text
search_by_lines({ "text": "love" })

Form-based discovery

text
Give me 14-line poems by Shakespeare.

Expected tool:

text
search_combined({ "fields": "author,linecount", "values": "Shakespeare;14" })

More advanced

text
List Shakespeare results, but only return title and linecount.

Expected tool:

text
search_by_author({ "author": "Shakespeare", "fields": "title,linecount" })

Multi-step exploration

text
Start with the catalog, then show me the discovery tools, then give me a sonnet.

Typical tool sequence:

text
catalog_overview({})catalog_category({ "category_id": "discovery" })get_sonnets({})

Development

bash
npm run buildnpm run test:cinpm testnpm pack --dry-run

Environment variables:

  • POETRYDB_BASE_URL
  • POETRYDB_REQUEST_TIMEOUT_MS
  • POETRYDB_REQUEST_RETRIES

Notes

  • No API key is required.
  • This package is not affiliated with PoetryDB.
  • Built for MCP clients that prefer a compact stdio server over a custom PoetryDB integration.
  • MCP Registry identity: io.github.lacausecrypto/poetrydb

Attribution

Additional implementation notes are in documentation.md.

來源:README.md,提交 726b0fe

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分