npm datamuse-mcpstdioMITupdated 4mo ago
MCP server for the Datamuse API (word search, rhymes, synonyms, and more).
What can you do with Datamuse MCP?
datamuse-mcp
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
npm install
Development
npm run dev
Build & run
npm run build
npm start
Manual JSON-RPC checks
# List tools
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | node dist/index.js
# Call a tool
echo '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"find_synonyms","arguments":{"word":"happy"}}}' | node dist/index.js
More tool examples
{ "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:
{
"mcpServers": {
"datamuse": {
"command": "node",
"args": ["/absolute/path/to/datamuse-mcp/dist/index.js"]
}
}
}
Exposed tools
find_synonymsfind_antonymsfind_rhymesfind_similar_soundingfind_by_patternfind_related_wordsfind_adjectives_for_nounfind_nouns_for_adjectiveget_word_infoautocomplete
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.
Install
Add Datamuse MCP to your client. Pick the one you use.
claude mcp add datamuse-mcp -- npx -y datamuse-mcpcodex mcp add datamuse-mcp -- npx -y datamuse-mcpamp mcp add datamuse-mcp -- npx -y datamuse-mcp{
"mcpServers": {
"datamuse-mcp": {
"command": "npx",
"args": [
"-y",
"datamuse-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"datamuse-mcp": {
"command": "npx",
"args": [
"-y",
"datamuse-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"datamuse-mcp","command":"npx","args":["-y","datamuse-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"datamuse-mcp": {
"command": "npx",
"args": [
"-y",
"datamuse-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"datamuse-mcp": {
"command": "npx",
"args": [
"-y",
"datamuse-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"datamuse-mcp": {
"command": "npx",
"args": [
"-y",
"datamuse-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"datamuse-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"datamuse-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"datamuse-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"datamuse-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y datamuse-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation22/25
- Maintenance13/25
- Trust13/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 139 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 1.0.0Latest | Apr 14, 2026 |