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 分