MCP server for Datamuse word-finding API
MCP server for the Datamuse API (word search, rhymes, synonyms, and more).
This project is open source, free to use, and licensed under MIT.
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.
This server provides simple MCP tools to:
*, ?) or phonetic similarity.>= 18npm install
npm run dev
npm run build
npm start
# 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
{ "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 } }
Add this to claude_desktop_config.json:
{
"mcpServers": {
"datamuse": {
"command": "node",
"args": ["/absolute/path/to/datamuse-mcp/dist/index.js"]
}
}
}
find_synonymsfind_antonymsfind_rhymesfind_similar_soundingfind_by_patternfind_related_wordsfind_adjectives_for_nounfind_nouns_for_adjectiveget_word_infoautocompletestdio (local usage recommended).https://api.datamuse.com.For npm and MCP Registry deployment, see PUBLISHING.md.
See CONTRIBUTING.md.
MIT — see LICENSE.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y datamuse-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-lacausecrypto-datamuse-mcp": {
"command": "npx",
"args": [
"-y",
"datamuse-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencedatamuse-mcpnpmDatamuse MCP works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.