Skip to main content

Dictionary and thesaurus utilities as a FastMCP server

Project description

Words MCP Server

PyPI License Build

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

casual_mcp_server_words-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

casual_mcp_server_words-1.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file casual_mcp_server_words-1.0.0.tar.gz.

File metadata

File hashes

Hashes for casual_mcp_server_words-1.0.0.tar.gz
Algorithm Hash digest
SHA256 20470aa0941ade031e89dc0937d1b1d64f39472a29420fd7b6c1de7b177b5a11
MD5 988247023ad6d34956c3c08c48bfd65e
BLAKE2b-256 06fe40bf82e3fd5344b1dc25201f7f51dfa30e551039f95894ada795296a173a

See more details on using hashes here.

File details

Details for the file casual_mcp_server_words-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for casual_mcp_server_words-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5f254763915ff0a2338fa598298c7390da8d76a241a4d13413bd808aa86273e
MD5 3922b5ef384b480334cea39cd465eedc
BLAKE2b-256 1185c69b75577d6258932cf43c69e4c0a368efba7018e44a178cfe5c048c4fb9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page