Dictionary Lookup MCP Server
Dictionary Lookup MCP Server
A minimal Model Context Protocol server
built with the official Python SDK. It exposes one tool, define, which looks
up the definition of an English word using the free
dictionaryapi.dev API.
This project was built as a learning exercise to understand how MCP servers are structured, how they communicate with clients, and how to deploy one publicly.
What it does
Exposes a single tool:
define(word: str) -> strGiven a word, returns its part of speech and definition
No API key or authentication required
Related MCP server: Hello World MCP FastAPI Endpoint
Requirements
Python 3.10+
uv (recommended) or pip
Setup (local)
# 1. Clone this repo
git clone <your-repo-url>
cd my-mcp-server
# 2. Install dependencies
uv syncRunning it locally
Option A — MCP Inspector (visual testing tool, easiest for beginners):
uv run mcp dev server.pyThis opens a browser-based inspector where you can call the define tool
directly and see the request/response without needing a full AI client.
Option B — Connect to Claude Desktop:
Add this to your Claude Desktop config file
(claude_desktop_config.json):
{
"mcpServers": {
"dictionary-lookup": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/my-mcp-server",
"run",
"server.py"
]
}
}
}Restart Claude Desktop, then ask something like: "Use the dictionary tool to define 'ephemeral'."
Usage example
Input: define("ephemeral")
Output: ephemeral (adjective): lasting for a very short time.
Deployment
This server is published on Smithery: <link once deployed>
To deploy your own copy:
Push this repo to GitHub.
Ensure
server.pysupports thestreamable-httptransport for remote hosting.Host it (e.g. Render/Railway) or use Smithery's publish flow.
On Smithery, choose "Publish via URL" and point it at your hosted server's endpoint.
Why this project
Built to learn the fundamentals of MCP: how a client discovers a server's tools, how a tool call is made and answered, and how a working server gets shared publicly through a marketplace like Smithery.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA basic Model Context Protocol server implementation that demonstrates core functionality including tools and resources for AI chat applications.
- FlicenseNot gradedqualityDmaintenanceA minimal Model Context Protocol server built with FastAPI that provides a basic "Hello World" resource and tool. Serves as a starting point for building and validating MCP client integrations with richer resources and tools.
- AlicenseNot gradedqualityDmaintenanceA minimal Model Context Protocol server that facilitates network-based client connections using Streamable HTTP transport. It provides a greeting tool and is optimized for consistent deployment across local environments, Docker, and Kubernetes.MIT
- FlicenseBqualityNot gradedmaintenanceA minimal Model Context Protocol server that provides a simple tool for adding two integers. It serves as a demonstration of the official Python MCP SDK and is designed for local execution via stdio.1
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP (Model Context Protocol) server for Appwrite
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MaryamSarfraz77/dictionary-lookup-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server