🌐
GitHub
github.com β€Ί upstash β€Ί context7
GitHub - upstash/context7: Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors - upstash/context7
Starred by 40K users
Forked by 2K users
Languages Β  TypeScript 76.3% | JavaScript 22.7% | Dockerfile 1.0%
🌐
Context7
context7.com β€Ί docs β€Ί plans-pricing
Plans & Pricing - Context7 MCP
What's included in the Free plan Β· How does the Pro plan pricing work
🌐
LobeHub
lobehub.com β€Ί mcp β€Ί upstash-context7
Context7 MCP - Up-to-date Code Docs For Any Prompt | MCP Servers Β· LobeHub
20 hours ago - MCP server for Context7 that provides up-to-date, version-specific documentation and code examples for libraries directly into your prompt. Requires Node.js >= v18.0.0 runtime.
🌐
Upstash
upstash.com β€Ί blog β€Ί context7-mcp
Context7 MCP: Up-to-Date Docs for Any Cursor Prompt | Upstash Blog
Today, we're launching our biggest update yet: The Context7 MCP - a direct integration with Cursor, Windsurf, or any LLM client that supports the Model Context Protocol (MCP).
🌐
Reddit
reddit.com β€Ί r/modelcontextprotocol β€Ί i built a context7 alternative that costs 40% less with similar code quality - here are my test results
r/modelcontextprotocol on Reddit: I built a Context7 alternative that costs 40% less with similar code quality - here are my test results
July 23, 2025 -

Hey devs! πŸ‘‹

I've been working on a RAG-based solution that functions similarly to Context7 but at a significantly lower cost. After some rigorous testing, I thought I'd share my findings with the community.

TL;DR: This implementation costs roughly half as much as Context7 while producing code of comparable quality.

The Tests

I ran three coding challenges using Gemini-2.5-pro (set to temp=0) with both Context7 and Custom MCP:

  1. Creating a Next.js page with API data fetching

  2. Building a FastAPI endpoint for streaming large files

  3. Developing a FastAPI WebSockets app with Redis pub/sub

I implemented a simple prompt suffix system:

  • For Context7: "use context7. Max tokens: 500"

  • For MCP: "use documentation"

The Results

Cost comparison: https://imgur.com/a/lGFgMHz

  • Average cost savings: ~40%

  • Next.js Test: Context7 ($0.056) vs Custom MCP ($0.023)

  • FastAPI Streaming Test: Context7 ($0.044) vs Custom MCP ($0.031)

  • WebSockets/Redis Test: Context7 ($0.052) vs Custom MCP ($0.040)

Both tools generated fully functional code that implemented all requirements, but the Custom MCP server did it at consistently lower costs.

Why This Matters

If you're building AI-powered coding tools or using them extensively in your workflow, these cost savings add up fast.

For teams making thousands of API calls daily, you could be saving hundreds or thousands of dollars monthly.

What's Next

I encourage you to try the MCP server yourself and share your feedback. Currently it supports the latest versions of Expo, FastAPI, and NextJS:

{
  "documentation": {
    "url": "https://doc-mcp.fly.dev/mcp/"
  }
}

If there's enough interest, I'll add more libraries.

Would love to hear your thoughts and questions about the approach!

🌐
Apidog
apidog.com β€Ί blog β€Ί context7-mcp-server
How to Install and Use Context7 MCP Server
July 17, 2025 - Explore how the Model Context Protocol (MCP) server enhances development workflows by providing real-time documentation integration. This article explains how to set up and use Context7 for accurate code suggestions, ensuring developers avoid outdated APIs and improve productivity.
🌐
DEV Community
dev.to β€Ί mehmetakar β€Ί context7-mcp-tutorial-3he2
Context7 MCP Tutorial - DEV Community
April 25, 2025 - Context7 and its tool Context7 MCP is so popular in AI-Vibe Coding world, nowadays. I want to mention...
🌐
LangDB
langdb.ai β€Ί home β€Ί mcp servers β€Ί context7
context7 | LangDB
June 4, 2025 - Unlock the full potential of context7 through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration. ... Delivers up-to-date, version-specific code documentation and examples directly into prompts via Model Context Protocol, eliminating outdated information and hallucinated APIs for accurate, efficient coding assistance. ... The Canva Dev Model Context Protocol (MCP) server provides AI-powered development assistance for Canva apps and integrations.
🌐
Smithery
smithery.ai β€Ί server β€Ί @upstash β€Ί context7-mcp
Context7 | MCP Server | Smithery
Fetch up-to-date, version-specific documentation and code examples directly into your prompts. Enhance your coding experience by eliminating outdated information and hallucinated APIs. Simply add `use context7` to your questions for accurate and relevant answers.
Find elsewhere
🌐
Reddit
reddit.com β€Ί r/aiseoinsider β€Ί context7 mcp ai agent: how to 10x your code quality with latest api data (zero hallucinations)
r/AISEOInsider on Reddit: Context7 MCP AI Agent: How To 10X Your Code Quality With Latest API Data (Zero Hallucinations)
March 14, 2025 - Compare this to traditional documentation tools that cost thousands annually. The Context7 MCP AI agent provides better functionality at a fraction of the price.
🌐
BestAIAgents
bestaiagents.ai β€Ί agent β€Ί context7
Context7 - MCP AI Agent Builder
Context7 is an AI agent designed to provide up-to-date documentation for Large Language Models (LLMs) and AI code editors. It offers a comprehensive MCP Server API, enabling developers to integrate and manage AI functionalities seamlessly. Context7 aims to enhance productivity and efficiency ...
🌐
ClaudeLog
claudelog.com β€Ί home β€Ί mcps & add-ons β€Ί context7 mcp
Context7 MCP | ClaudeLog
Context7 MCP: Up-to-date code documentation for Claude Code through Model Context Protocol. Inject current library docs and examples into prompts.
🌐
Claude MCP
claudemcp.com β€Ί servers β€Ί context7
Context7 MCP - Up-to-date Docs For Any Prompt - Claude MCP Servers
Context7 MCP is a server that provides up-to-date documentation for LLMs and AI code editors. - Claude MCP Servers - Claude MCP Community
🌐
Upstash
upstash.com β€Ί blog β€Ί context7-llmtxt-cursor
Introducing Context7: Up-to-Date Docs for LLMs and AI Code Editors | Upstash Blog
You can use Context7 with any LLM-powered editor or agent, but Cursor and Windsurf make the experience seamless. Both also have generous free levels, so it's easy to give them a try if you haven't already. Public MCP server (in private preview - join the waitlist!).
🌐
Reddit
reddit.com β€Ί r/vibecoding β€Ί context7 mcp is a game changer.
Context7 MCP is a game changer. : r/vibecoding
June 10, 2025 - Context7 sounds like a solid solution for the documentation problem. We've built something similar internally at LiquidMetal AI - our Raindrop MCP server acts as a bridge between Claude and real-time infrastructure data. Instead of relying on training data, it lets Claude query live systems and get current state information.
🌐
Reddit
reddit.com β€Ί r/chatgptcoding β€Ί i just found out about context7 mcp server and it's awesome!
r/ChatGPTCoding on Reddit: I just found out about Context7 MCP Server and it's awesome!
April 24, 2025 -

From their Github Repo:

❌ Without Context7

LLMs rely on outdated or generic information about the libraries you use. You get:

  • ❌ Code examples are outdated and based on year-old training data

  • ❌ Hallucinated APIs don't even exist

  • ❌ Generic answers for old package versions

βœ… With Context7

Context7 MCP pulls up-to-date, version-specific documentation and code examples straight from the source β€” and places them directly into your prompt.

Context7 fetches up-to-date code examples and documentation right into your LLM's context.

  • 1️⃣ Write your prompt naturally

  • 2️⃣ Tell the LLM to use context7

  • 3️⃣ Get working code answers

No tab-switching, no hallucinated APIs that don't exist, no outdated code generations.

I have tried it with VS Code + Cline as well as Windsurf, using GPT-4.1-mini as a base model and it works like a charm.

  • Context7 website

  • Github Repo

YT Tutorials on how to use with Cline or Windsurf:

  • Context7: The New MCP Server That Will CHANGE AI Coding (FREE)

  • This is Hands Down the BEST MCP Server for AI Coding Assistants

🌐
Visual Studio Marketplace
marketplace.visualstudio.com β€Ί items
Context7 MCP Server - Visual Studio Marketplace
Extension for Visual Studio Code - Real-time code and documentation access for AI assistants via Context7 MCP server
🌐
Context7
context7.com
Context7 - Up-to-date documentation for LLMs and AI code editors
Generate context with up-to-date documentation for LLMs and AI code editors
🌐
Medium
medium.com β€Ί aimonks β€Ί context7-mcp-empower-your-ai-coding-assistant-with-live-version-specific-documentation-fa4fbc84115e
Context7 MCP: Empower Your AI Coding Assistant with Live, Version-Specific Documentation | by JIN | π€πˆ 𝐦𝐨𝐧𝐀𝐬.𝐒𝐨 | Medium
April 30, 2025 - But all too often, large language models (LLMs) hallucinate outdated or non-existent code APIs, especially for libraries released after the model’s training cutoff. Context7 is a new open-source Model Context Protocol (MCP) server (from the team at Upstash) that solves this problem by feeding always up-to-date, version-specific documentation and code examples directly into your AI’s prompt.
🌐
Medium
medium.com β€Ί wix-engineering β€Ί mcp-explained-deep-dive-and-comparison-of-popular-code-search-mcps-context7-github-official-mcp-43f547f12501
MCP Explained: Deep Dive and Comparison of Popular Code Search MCPs (Context7, GitHub Official MCP, AWS MCP Suite). Done By Octocode-mcp πŸ™ | by Guy Bary | Wix Engineering | Medium
July 22, 2025 - The MCP ecosystem in 2025 offers sophisticated solutions for different development scenarios. Each platform brings unique strengths: Context7 excels in documentation accuracy with zero-setup deployment and comprehensive multilingual support across 15+ languages.