Dictionary and thesaurus utilities as an MCP server
Project description
Words MCP Server
An MCP server providing dictionary and thesaurus tools for LLMs using the Free Dictionary API.
Overview
The Words MCP Server provides natural language utilities for language models and AI assistants. It allows tools like define, synonyms, and example_usage to be called programmatically via FastMCP.
🔧 Tools
- define – Retrieve definitions of an English word.
- example_usage – Get example usage sentences for a word.
- synonyms – Get synonyms for a word.
🛠️ Installation
Local Development (via uv)
From this directory:
uv sync --locked
uv tool install .
Docker Build
From the root of the repository:
docker build -f servers/words/Dockerfile -t casual-mcp-server-words .
▶️ Running the Server
➤ Stdio Mode
From Source
Install for local development and then configure:
{
"mcpServers": {
"words": {
"command": "uv",
"args": ["tool", "run", "casual-mcp-server-words"]
}
}
}
Using uvx
{
"mcpServers": {
"words": {
"command": "uvx",
"args": ["casual-mcp-server-words"]
}
}
}
Docker
{
"mcpServers": {
"words": {
"command": "docker",
"args": ["run", "--rm", "casual-mcp-server-words"]
}
}
}
➤ Streamable HTTP Mode
From Source
uv run casual-mcp-server-words --transport streamable-http
With port/host overrides:
uv run casual-mcp-server-words --transport streamable-http --port 9000 --host 0.0.0.0
Using uvx
uvx casual-mcp-server-words --transport streamable-http
You can use the same port/host overrides as above
Docker
docker run -e MCP_TRANSPORT=streamable-http -e MCP_PORT=9000 -p 9000:9000 casual-mcp-server-words
Configuration
{
"mcpServers": {
"words": {
"type": "streamable-http",
"url": "http://localhost:9000"
}
}
}
📜 License
MIT – LICENSE
📦 PyPI
Published at: https://pypi.org/project/casual-mcp-server-words/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file casual_mcp_server_words-1.0.1.tar.gz.
File metadata
- Download URL: casual_mcp_server_words-1.0.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf3cee35224da5713dc4d2f2a4e2e00987d46ab97da5fa1a10854a65a0b2c96f
|
|
| MD5 |
5b56913eee722ada62be5b615a82fece
|
|
| BLAKE2b-256 |
a6b1bab456730b06b079cf224ab01dd196627fddbb22255c74d0038703a404e7
|
File details
Details for the file casual_mcp_server_words-1.0.1-py3-none-any.whl.
File metadata
- Download URL: casual_mcp_server_words-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b67c9bee39c3add0d467d97fd74a50b2e26b70c83283bdb3a5521ff21ea09ed
|
|
| MD5 |
a18c8fae15dbdfd2277a04f2b8756881
|
|
| BLAKE2b-256 |
13343a9f64e3190a808d0e49a00c73db5786b8e3f904e839eb9ee4782a0ed92f
|