Skip to main content
Glama

πŸ”Œ 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.


Related MCP server: TOOL4LM

πŸ“Έ 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


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.

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/vyavahare-kishor/ai-mcp-toolkit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server