ai-mcp-toolkit
An MCP server providing tools for web research, code review, and concept explanation, callable by any MCP-compatible client.
README
🔌 AI MCP Toolkit
An MCP (Model Context Protocol) server exposing three AI capabilities — web research, code review, and concept explanation — as standardized tools any MCP-compatible client can call directly, including Claude Desktop.
🎯 What It Does
Every AI client built before this protocol existed needed its own custom integration to call your code — a ChatGPT plugin works differently from a LangChain tool, which works differently from a CrewAI tool. MCP standardizes that. Write a tool once as an MCP server, and any MCP-compatible client — Claude Desktop, Claude Code, Cursor, or a custom agent — can discover and call it the same way, with no client-specific integration code.
This server exposes three tools, each reusing a capability already proven in an earlier project in this portfolio rather than rebuilding logic from scratch:
web_research → Tavily search + Groq summarization (from ai-research-agent)
review_code_diff → structured code review feedback (from ai-pr-reviewer)
explain_concept → audience-tailored explanations (new)
The point isn't the tools themselves — it's the exposure layer. Capabilities that previously only worked inside a FastAPI endpoint or a CrewAI agent now work inside any MCP client, with zero changes to the underlying logic.
📸 Screenshots
MCP Inspector — tool schemas and live testing
Local dev tool showing all 3 tools auto-discovered from @mcp.tool() decorators, with their generated input/output schemas.
Connected and running in Claude Desktop
Settings → Developer → Local MCP servers, showing ai-toolkit with status running.
A real tool call inside a Claude conversation
Claude recognizing a request matches the web_research tool, invoking it, and returning a result grounded in live search — not its own training data.
✨ Features
- Protocol-standard tool exposure — built on the official MCP Python SDK (
FastMCP), not a custom client integration - Auto-generated schemas — tool input/output schemas are derived automatically from Python type hints and docstrings, no manual schema writing
- Reused, not rebuilt — each tool wraps logic already proven in a separate FastAPI project, demonstrating capability reuse across architectures
- Client-agnostic — works with Claude Desktop, Claude Code, MCP Inspector, or any future MCP-compatible client without code changes
- Local-first development loop — testable end-to-end via MCP Inspector before ever connecting a real client
🧠 How It Works
A tool in this server is just a Python function with a @mcp.tool() decorator. FastMCP inspects the function's type hints and docstring to generate the JSON schema a client needs to know what the tool does, what parameters it takes, and what it returns — none of that schema is written by hand.
@mcp.tool()
def explain_concept(concept: str, audience: str = "a senior backend engineer new to AI") -> str:
"""Explain a technical or AI concept tailored to a specific audience's
background level, using concrete analogies."""
...
When a client like Claude Desktop starts, it spawns this server as a subprocess and performs a handshake (initialize → tools/list) over stdio, using the MCP protocol — not HTTP. The client now knows all three tools exist and what they need, and can call any of them mid-conversation whenever a request matches.
One practical lesson from building this: a client with its own native capabilities (like Claude's built-in web search) may choose its own tool over your MCP tool for ambiguous requests, since both are valid ways to satisfy it. Naming the tool explicitly, or asking for something only your tool can do, removes that ambiguity — useful to know when demoing or debugging.
🗂️ Project Structure
ai-mcp-toolkit/
├── server.py # All 3 tools, FastMCP server entry point
├── .env.example
└── .gitignore
One file. The simplicity is the point — this is the exposure layer, not where the heavy logic lives.
🚀 Getting Started
Prerequisites
- Python 3.11+
- Groq API key — free
- Tavily API key — free
Installation
git clone https://github.com/vyavahare-kishor/ai-mcp-toolkit
cd ai-mcp-toolkit
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv
source .venv/bin/activate
uv add "mcp[cli]" groq tavily-python python-dotenv
Configuration
cp .env.example .env
GROQ_API_KEY=your_groq_api_key_here
TAVILY_API_KEY=your_tavily_api_key_here
Test locally — MCP Inspector
uv run mcp dev server.py
Opens a local web UI listing all 3 tools. Run each one directly to verify behavior before connecting a real client.
Connect to Claude Desktop
Add to claude_desktop_config.json (Mac: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"ai-toolkit": {
"command": "uv",
"args": ["--directory", "/absolute/path/to/ai-mcp-toolkit", "run", "server.py"]
}
}
}
Restart Claude Desktop. The tools icon should show ai-toolkit as connected, and all 3 tools become callable directly inside any conversation.
🗺️ Roadmap
- [ ] Add an MCP resource (not just tools) — expose read-only context like prior research results
- [ ] Add an MCP prompt template for a guided workflow (e.g. structured PR review request)
- [ ] Authentication for remote deployment (currently local-only, stdio transport)
- [ ] Wrap the ai-customer-support-bot RAG pipeline as a 4th tool
🔗 Related Projects
Part of an AI-native engineering portfolio. Full journey: ai-engineering-journey
| Project | Connection to this one |
|---|---|
| ai-research-agent | web_research tool reuses this project's search + summarize pattern |
| ai-pr-reviewer | review_code_diff tool reuses this project's structured review approach |
| ai-analyst-crew | Same Groq backend, different exposure layer — agents vs. protocol-standard tools |
👨💻 Author
Kishor Vyavahare Senior Software Engineer → AI Native Engineer
11+ years of backend engineering (Ruby on Rails, PostgreSQL, AWS). Now building production AI systems — RAG pipelines, agents, multi-agent crews, and protocol-standard tool exposure via MCP.
📄 License
MIT License — use it, fork it, build on it.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。