Word of the Day MCP Server
A Model Context Protocol (MCP) server that provides word definitions and random word-of-the-day functionality using the amazing Free Dictionary API! 🎉
🙏 Special Thanks
Huge shoutout to the Free Dictionary API team for providing this incredible, free, and open-source dictionary service! This project wouldn't be possible without their fantastic API that delivers comprehensive word definitions, pronunciations, examples, and more.
API Endpoint: https://api.dictionaryapi.dev/api/v2/entries/en/<word>
Related MCP server: Semantic Scholar MCP Server
Features
Get Word Definition: Fetch comprehensive definitions, pronunciations, meanings, and examples for any English word
Random Word of the Day: Get a random word with its definition, categorized by difficulty level
Rich Information: Includes phonetic pronunciation, part of speech, examples, synonyms, antonyms, and etymology when available
Installation
Clone or download this project
Install dependencies:
npm installBuild the project:
npm run build
Usage
As an MCP Server
The server is configured to run via the MCP protocol. Add it to your MCP client configuration:
🛠️ Available MCP Tools
This server provides two powerful tools for vocabulary enhancement:
📖 get_word_definition
Description: Get comprehensive definitions, pronunciations, and meanings of any English word using the Dictionary API.
Input Schema:
Example Usage:
Sample Response:
🎲 get_random_word
Description: Get a random word with its complete definition for daily vocabulary building, categorized by difficulty level.
Input Schema:
Example Usage:
Sample Response:
Difficulty Levels:
Easy: Common everyday words (happy, house, water, light, music, friend)
Medium: Sophisticated vocabulary (serendipity, eloquent, resilient, magnificent)
Hard: Advanced vocabulary (ephemeral, ubiquitous, perspicacious, surreptitious)
📚 API Integration
This server integrates with the Free Dictionary API - a completely free, open-source dictionary API that requires no authentication!
Why We Love This API:
✅ Completely FREE - No API keys or rate limits
✅ Open Source - Community-driven project
✅ Comprehensive Data - Rich word information
✅ No Authentication - Just make requests and get data!
The API provides:
Word definitions and meanings
Phonetic pronunciations (text and audio)
Part of speech information
Usage examples
Synonyms and antonyms
Etymology/origin information
Word Difficulty Levels
Easy: Common everyday words (happy, house, water, etc.)
Medium: More sophisticated vocabulary (serendipity, eloquent, resilient, etc.)
Hard: Advanced vocabulary (ephemeral, ubiquitous, perspicacious, etc.)
Development
Development mode:
npm run devBuild:
npm run buildStart:
npm start
Example Response
When you request the definition of "hello", you'll get:
Error Handling
The server gracefully handles:
Words not found in the dictionary
API connection issues
Invalid parameters
Network timeouts
License
This project is open source and available under the MIT License.
Made with ❤️ by Traves Theberge