Dictionary Lookup MCP Server
Dictionary Lookup MCP Server
公式Python SDKで構築された最小限のModel Context Protocolサーバーです。defineという1つのツールを公開しており、無料のdictionaryapi.dev APIを使用して英単語の定義を検索します。
このプロジェクトは、MCPサーバーの構造、クライアントとの通信方法、そして公開デプロイの方法を理解するための学習演習として構築されました。
機能
単一のツールを公開:
define(word: str) -> str単語を指定すると、品詞と定義を返します
APIキーや認証は不要です
Related MCP server: yifanli-mcp-add-demo
必要条件
Python 3.10+
uv (推奨) または pip
セットアップ (ローカル)
# 1. Clone this repo
git clone <your-repo-url>
cd my-mcp-server
# 2. Install dependencies
uv syncローカルでの実行
オプションA — MCP Inspector (ビジュアルテストツール、初心者に最適):
uv run mcp dev server.pyこれによりブラウザベースのインスペクタが開き、完全なAIクライアントを必要とせずにdefineツールを直接呼び出してリクエスト/レスポンスを確認できます。
オプションB — Claude Desktopに接続:
Claude Desktopの設定ファイル(claude_desktop_config.json)にこれを追加します:
{
"mcpServers": {
"dictionary-lookup": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/my-mcp-server",
"run",
"server.py"
]
}
}
}Claude Desktopを再起動し、次のように質問します: 「辞書ツールを使って'ephemeral'を定義してください。」
使用例
入力: define("ephemeral")
出力: ephemeral (adjective): lasting for a very short time.
デプロイ
このサーバーはSmitheryで公開されています: <link once deployed>
独自のコピーをデプロイするには:
このリポジトリをGitHubにプッシュします。
リモートホスティング用に
server.pyがstreamable-httpトランスポートをサポートしていることを確認します。ホストするか(Render/Railwayなど)、Smitheryの公開フローを使用します。
Smitheryで「Publish via URL」を選択し、ホストしたサーバーのエンドポイントを指定します。
このプロジェクトの目的
MCPの基礎を学ぶために構築されました: クライアントがサーバーのツールをどのように発見するか、ツール呼び出しがどのように行われ応答されるか、そして動作するサーバーがSmitheryのようなマーケットプレイスを通じてどのように公開共有されるか。
Available Tools
1 tooldefineA
Look up the definition of an English word and return it as text.
Inputs: word (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
There is only one tool, so there is no possibility of confusing it with another tool. Its purpose is immediately clear and unambiguous.
The single tool name 'define' is a clear imperative verb that matches its action. With only one tool, there are no mixed naming conventions or inconsistencies.
One tool feels thin for a server labeled as a dictionary lookup service, though it does cover the core definition lookup need. It is borderline rather than extreme.
The core lookup functionality is covered well, but a dictionary server might reasonably include related operations like synonyms, usage examples, or pronunciation. These are minor gaps rather than fatal omissions.
Maintenance
Related MCP Connectors
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
A Model Context Protocol server for Wix AI tools
The official Model Context Protocol server for Ambee. It gives any MCP-compatible AI assistant — Claude, ChatGPT, Cursor, VS Code, Ollama, and more direct access to live air quality, pollen, and weather data. To get started, including information on signing up and obtaining your Ambee key, check out the Ambee documentation on https://docs.ambeedata.com
Related MCP Servers
- 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.-
- 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-
- AlicenseNot gradedqualityDmaintenanceModel Context Protocol server that standardizes tool discovery, execution, and context management for AI applications.MIT
- AlicenseAqualityDmaintenanceA minimal starting point for a Model Context Protocol server with stdio transport and one tool, enabling quick setup and custom tool addition.1ISC