ai-mcp-toolkit

ai-mcp-toolkit

An MCP server providing tools for web research, code review, and concept explanation, callable by any MCP-compatible client.

Category
Visit Server

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.

Python MCP Groq Tavily


🎯 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 MCP Inspector 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 Claude Desktop connection Settings β†’ Developer β†’ Local MCP servers, showing ai-toolkit with status running.

A real tool call inside a Claude conversation Tool call in action 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

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.

LinkedIn GitHub


πŸ“„ License

MIT License β€” use it, fork it, build on it.

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
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
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
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
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
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