AI Context MCP
Fetches up-to-date documentation, changelogs, and source signatures for the CrewAI agent framework.
Fetches up-to-date documentation, changelogs, and source signatures for the Drizzle ORM.
Fetches up-to-date documentation, changelogs, and source signatures for Express.js.
Fetches up-to-date documentation, changelogs, and source signatures for Fastify.
Fetches up-to-date documentation, changelogs, and source signatures for Firebase JS SDK.
Fetches up-to-date documentation, changelogs, and source signatures for Hono.
Fetches up-to-date documentation, changelogs, and source signatures for LangChain (Python and JavaScript).
Fetches up-to-date documentation, changelogs, and source signatures for LangGraph.
Fetches up-to-date documentation, changelogs, and source signatures for Mongoose ODM.
Fetches up-to-date documentation, changelogs, and source signatures for Next.js.
Fetches up-to-date documentation, changelogs, and source signatures for Nuxt.
Fetches up-to-date documentation, changelogs, and source signatures for Ollama.
Fetches up-to-date documentation, changelogs, and source signatures for OpenAI SDKs (Python and Node.js).
Fetches up-to-date documentation, changelogs, and source signatures for Prisma ORM.
Fetches up-to-date documentation, changelogs, and source signatures for Pydantic and Pydantic AI.
Fetches up-to-date documentation, changelogs, and source signatures for PyTorch.
Fetches up-to-date documentation, changelogs, and source signatures for React.
Fetches up-to-date documentation, changelogs, and source signatures for Supabase JS SDK.
Fetches up-to-date documentation, changelogs, and source signatures for Svelte and SvelteKit.
Fetches up-to-date documentation, changelogs, and source signatures for tRPC.
Fetches up-to-date documentation, changelogs, and source signatures for TypeORM.
Fetches up-to-date documentation, changelogs, and source signatures for the Vercel AI SDK.
Fetches up-to-date documentation, changelogs, and source signatures for Vitest.
Fetches up-to-date documentation, changelogs, and source signatures for Zod.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AI Context MCPshow me the streaming API for OpenAI Python v1.0.0"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Table of Contents
Related MCP server: Context7 MCP
Why AI Context MCP?
LLMs are trained on static snapshots of the web. By the time you use Claude or Cursor, its knowledge of langchain, openai, pytorch etc. is already months out of date — causing:
❌ Hallucinated function signatures that don't exist
❌ Deprecated patterns the model confidently recommends
❌ Silent breaking changes that crash your app at runtime
AI Context MCP solves this by fetching current docs and changelogs from GitHub at query time, ranking them semantically, and injecting them into the model's context window.
Quick Start
Option 1 — NPM Global Install (recommended)
npm install -g ai-context-mcpOption 2 — Clone & Build
git clone https://github.com/Prathmeshkunturwar/Context_Mcp.git
cd Context_Mcp
npm install && npm run buildSetup
Claude Code
Add to your project's .mcp.json:
{
"mcpServers": {
"ai-context": {
"command": "npx",
"args": ["-y", "ai-context-mcp"],
"env": { "GITHUB_TOKEN": "ghp_your_token_here" }
}
}
}Claude Desktop
Edit claude_desktop_config.json:
OS | Path |
Windows |
|
macOS |
|
Linux |
|
{
"mcpServers": {
"ai-context": {
"command": "npx",
"args": ["-y", "ai-context-mcp"],
"env": { "GITHUB_TOKEN": "ghp_your_token_here" }
}
}
}Cursor / Other MCP Clients
{
"mcpServers": {
"ai-context": {
"command": "npx",
"args": ["-y", "ai-context-mcp"],
"env": { "GITHUB_TOKEN": "ghp_your_token_here" }
}
}
}Environment Variables
Variable | Required | Description |
| Recommended | GitHub PAT. Without it: 60 req/hr. With it: 5,000/hr. Create one (no scopes needed). |
| Optional | Set to |
| Optional | Cache TTL in hours (default: 24). |
| Optional | HTTP port when |
Tools Reference
resolve-library-id
Maps natural language to a registry library ID.
"LangChain JavaScript" → /langchain-ai/langchainjsquery-docs
Fetches version-pinned documentation snippets, semantically ranked using MiniLM-L6.
query-docs(libraryId: "/openai/openai-python", query: "streaming", version: "1.0.0")get-changelog-diff
Extracts breaking changes and new features between two versions.
get-changelog-diff(libraryId: "/langchain-ai/langchainjs", fromVersion: "0.1.0", toVersion: "0.3.0")
→ 7 BREAKING CHANGES, 12 NEW FEATURESget-source-signature
Extracts raw type/function/class signatures directly from source code.
get-source-signature(libraryId: "/langchain-ai/langchainjs", filePath: "...", entityName: "RunnableSequence")detect-project-versions
Scans your local package.json or requirements.txt to detect installed library versions.
detect-project-versions(projectPath: "./")
→ { "langchain": "0.1.0", "@langchain/openai": "0.0.14" }auto-migrate-codebase
Analyzes your codebase against changelog breaking changes and generates migration alerts.
auto-migrate-codebase(libraryId: "...", projectPath: "./", fromVersion: "0.1.0", toVersion: "0.3.0")suggest-skills
Scans your project imports and recommends which libraries to look up.
suggest-skills(projectPath: "./") → ["/langchain-ai/langchainjs", "/openai/openai-node"]Supported Libraries
🤖 LLM Provider SDKs
OpenAI Python · OpenAI Node.js · Anthropic Python · Anthropic TypeScript · Google Generative AI · Mistral AI · Cohere
🦾 Agent Frameworks
LangChain Python · LangChain.js · LangGraph · LlamaIndex · CrewAI · Pydantic AI · AutoGen · Letta (MemGPT) · Vercel AI SDK
🧠 ML Frameworks
PyTorch · HuggingFace Transformers · Diffusers · Accelerate · PEFT · Pydantic
⚡ Inference Engines
vLLM · llama.cpp · Ollama
🗄️ Vector Databases
ChromaDB · Qdrant · Pinecone · Weaviate
🌐 Web Frameworks
React · Next.js · Vue · Nuxt · Svelte · SvelteKit · Express · Fastify · Hono
🗃️ Database & ORM
Prisma · Drizzle · TypeORM · Mongoose
🔌 API & Validation
tRPC · Zod · Apollo Server
🧪 Testing & Infrastructure
Vitest · Playwright · Supabase JS · Firebase JS
57 libraries and growing! Run
npm run add-libraryor open a PR to add yours.
Architecture
┌─────────────────────────────────────────────────────────┐
│ MCP Client (Claude / Cursor) │
│ resolve → query → changelog → signature │
└───────────────────────┬─────────────────────────────────┘
│ MCP Protocol (stdio / http)
┌───────────────────────▼─────────────────────────────────┐
│ AI Context MCP Server │
│ │
│ ┌────────────┐ ┌────────────┐ ┌──────────────────┐ │
│ │ Registry │ │ Fetcher │ │ Semantic Ranker │ │
│ │ (57 libs) │ │ (GitHub + │ │ (MiniLM-L6-v2) │ │
│ └────────────┘ │ Cache) │ └──────────────────┘ │
│ └────────────┘ │
│ ┌────────────┐ ┌────────────┐ ┌──────────────────┐ │
│ │ Changelog │ │ Snippet │ │ Source │ │
│ │ Parser │ │ Extractor │ │ Signature │ │
│ └────────────┘ └────────────┘ └──────────────────┘ │
│ │
│ L1: In-Memory LRU │ L2: SQLite (offline) │
└───────────────────────────────────────────────────────────┘Contributing
See CONTRIBUTING.md for full guidelines.
npm run dev # ts-node with hot reload
npm test # 39 Jest tests
npm run build # Compile TypeScript
npm run add-library # Interactive library adderProject structure:
src/
├── server.ts # Entry point
├── registry/libraries.json # Add libraries here
├── sources/ # GitHub, NPM, PyPI, HuggingFace
├── ranking/ # Semantic ranker + snippet extractor
├── cache/ # Two-tier LRU + SQLite cache
└── tools/ # changelog, versions, migrate, suggestTroubleshooting
"Cannot find module" on start
npm run buildGitHub 403 / rate limit errors
Add GITHUB_TOKEN to your env — create a token with no extra scopes.
Stale/outdated docs returned
rm -f .cache/ai-context-cache.dbFirst npx run hangs
The MiniLM model downloads (~25MB) on first run. This is one-time only.
More help in docs/TROUBLESHOOTING.md · Open an issue
License
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.
Latest Blog Posts
- 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/Prathmeshkunturwar/Context_Mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server