llmmcp
Provides real-time, up-to-date documentation for major LLM providers (OpenAI, Anthropic, Google Gemini) to prevent hallucinations and outdated code patterns in AI agents.
README
llmmcp
🌐 Website: https://llmmcp.vercel.app<br> 🎥 Demo:
https://github.com/user-attachments/assets/eaad8d05-b7a8-4bf0-86c6-4fe2726da628
Stop LLM hallucinations and outdated code patterns.
llmmcp is a Model Context Protocol (MCP) server that provides real-time, up-to-date documentation for major LLM providers (OpenAI, Anthropic, and Google Gemini). It ensures your AI agents—like Cursor, Claude Desktop, or Windsurf—base their work on current official documentation instead of stale training data or deprecated library patterns.
Why use llmmcp?
LLMs frequently hallucinate about their own latest versions, feature availability (e.g., tool use in certain models), and pricing. llmmcp fixes this by providing:
- ✅ Up-to-Date Model Info: Always know the latest available models (e.g., Gemini 2.0 Flash, Claude 3.5 Sonnet).
- ✅ Detailed API Params: Verified tool use syntax, context window sizes, and rate limits.
- ✅ Latest Implementation Patterns: Force your AI agent to follow current best practices instead of using legacy or deprecated library versions.
- ✅ Real-Time Search: Queries an indexed vector database of official provider documentation.
- ✅ Dynamic Listings: Get the current state of providers without hardcoded lists.
🚀 Quick Start
You can use llmmcp immediately in your favorite AI tools without local installation.
Cursor
Add a new MCP server in Settings > Models > MCP Servers:
- Name:
llmmcp - Type:
command - Command:
npx -y llmmcp@latest
Claude Desktop
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"llmmcp": {
"command": "npx",
"args": ["-y", "llmmcp@latest"]
}
}
}
🛠 Features
search_docs
Search the latest official documentation for specific technical details. Example: "What are the tool use parameters for Gemini 1.5 Pro?"
list_providers
Get a dynamically updated list of available providers (OpenAI, Anthropic, Google) and their currently promoted models.
🏗 How it Works
llmmcp is designed for speed and reliability:
- Indexer: A weekly scraper fetches raw markdown/text from official documentation.
- Vector DB: Chunks are embedded and stored in Pinecone with integrated embedding support.
- Backend: A Cloudflare Worker handles query embedding and retrieval, caching frequent results in Workers KV.
- MCP Client: A thin CLI translates MCP requests into API calls for the Worker.
🤝 Contributing & Self-Hosting
This project is open-source. If you'd like to run your own instance of the backend:
- See Architecture & Deployment (coming soon, see current setup in logs).
- Fork the repo and submit a PR for new documentation sources.
Developed by Abdullah Al Mahmud
License
MIT
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
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.