Datamuse MCP

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

MCP server for Datamuse word-finding API

概覽

AI 產生的概覽

一個本機 MCP 伺服器,包裝 Datamuse 找詞 API,讓助理查詢同義詞、反義詞、押韻詞、詞語詳情和自動完成建議。

可以做什麼
查找某個詞的同義詞、反義詞和押韻詞,可選擇押韻類型和結果數量。查找發音相近的詞或符合拼寫模式的詞,並可用含義提示縮小範圍。依關係類型查找相關詞,以及為名詞找形容詞、為形容詞找名詞。取得詞語的詞典資訊,例如釋義、詞性、音節、發音和詞頻。依前綴取得自動完成建議。
適用情境
適合在撰寫或修改散文、詩歌、歌詞時,讓助理提供替代詞、押韻詞或近似詞。也適合查詢某個特定詞語的釋義、發音或詞頻等詞彙問題。
執行需求
以 npm 套件形式透過 stdio 在本機執行,需要 Node.js 18 或更新版本以及 npm。未宣告驗證、API 金鑰或環境變數。需要連線至 Datamuse API 的外網存取。
安裝前請注意
查詢內容會傳送到外部 Datamuse 服務,因此請求會離開本機。Datamuse 可能實施請求頻率限制或配額。結果僅在記憶體中快取五分鐘,不會寫入磁碟。此伺服器為唯讀,不會修改資料。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

datamuse-mcp

[npm version] [npm downloads] [license] [node] [github release] [publish workflow]

MCP server for the Datamuse API (word search, rhymes, synonyms, and more).

This project is open source, free to use, and licensed under MIT.

About

datamuse-mcp is a local stdio MCP server that wraps Datamuse endpoints into validated MCP tools. It is designed for practical word-finding use cases in assistants and clients that support MCP.

Purpose

This server provides simple MCP tools to:

  • find synonyms, antonyms, and rhymes;
  • run autocomplete;
  • fetch lexical details (definitions, POS, syllables, pronunciation, frequency);
  • search by spelling pattern (*, ?) or phonetic similarity.

Requirements

  • Node.js >= 18
  • npm

Install

bash
npm install

Development

bash
npm run dev

Build & run

bash
npm run buildnpm start

Manual JSON-RPC checks

bash
# List toolsecho '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | node dist/index.js
# Call a toolecho '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"find_synonyms","arguments":{"word":"happy"}}}' | node dist/index.js

More tool examples

json
{ "tool": "find_antonyms", "arguments": { "word": "happy", "max": 10 } }{ "tool": "find_rhymes", "arguments": { "word": "love", "type": "perfect", "max": 20 } }{ "tool": "find_similar_sounding", "arguments": { "text": "definately", "max": 15 } }{ "tool": "find_by_pattern", "arguments": { "pattern": "s??r?", "meaning_hint": "celestial", "max": 25 } }{ "tool": "find_related_words", "arguments": { "word": "music", "relation_type": "triggers", "max": 15 } }{ "tool": "get_word_info", "arguments": { "word": "serendipity" } }{ "tool": "autocomplete", "arguments": { "prefix": "astro", "max": 10 } }

Claude Desktop configuration

Add this to claude_desktop_config.json:

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

Exposed tools

  • find_synonyms
  • find_antonyms
  • find_rhymes
  • find_similar_sounding
  • find_by_pattern
  • find_related_words
  • find_adjectives_for_noun
  • find_nouns_for_adjective
  • get_word_info
  • autocomplete

Security and limits

  • The server runs over stdio (local usage recommended).
  • Outbound requests go to https://api.datamuse.com.
  • A local in-memory cache is used (5-minute TTL), with no disk persistence.
  • Datamuse may enforce request limits/quotas.

Publishing

For npm and MCP Registry deployment, see PUBLISHING.md.

Contributing

See CONTRIBUTING.md.

License

MIT — see LICENSE.

來源:README.md,提交 5ae4854

工具

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

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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