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.

Category
Visit Server

README

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) -> str
  • Given a word, returns its part of speech and definition
  • No API key or authentication required

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 sync

Running it locally

Option A — MCP Inspector (visual testing tool, easiest for beginners):

uv run mcp dev server.py

This 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:

  1. Push this repo to GitHub.
  2. Ensure server.py supports the streamable-http transport for remote hosting.
  3. Host it (e.g. Render/Railway) or use Smithery's publish flow.
  4. 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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured