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: Hello World MCP FastAPI Endpoint
必要条件
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のようなマーケットプレイスを通じてどのように公開共有されるか。
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