Skip to content
100% Free OSSCoding, Docs Grounding & PR Reviewmcp-stdio

Context7 Live Framework Docs MCP for Claude Code, ChatGPT, Gemini CLI & Cursor

Injects up-to-date official docs for Next.js 15/16, React 19, Tailwind v4, Prisma & 5,000+ packages.

Quick Answer Summary (Claude Code • ChatGPT • Cursor • Gemini CLI)

Context7 Live Framework Docs MCP (100% Free OSS) connects to AI coding and chat agents via claude mcp add context7 -- npx -y @upstash/context7-mcp@latest. Free Tier: 100% Free via @upstash/context7-mcp — eliminates hallucinated deprecated SDK methods. Paid Upgrade Threshold: Free for individual developers; optional Upstash key only for high-team rate limits.

What Works for $0 (Free Tier)

100% Free via @upstash/context7-mcp — eliminates hallucinated deprecated SDK methods.

When a Paid Subscription Is Required

Free for individual developers; optional Upstash key only for high-team rate limits.

Zero API keys required — runs locally or over public HTTP immediately.

1-Command Setup for Claude Code, Google Gemini CLI & Cursor

Copy the exact snippet for your AI coding agent — merges alongside the StackOS Master Router so future tool recommendations happen automatically.

1. Claude Code CLI One-Liner
claude mcp add context7 -- npx -y @upstash/context7-mcp@latest
2. Google Gemini CLI (~/.gemini/settings.json)
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp@latest"
      ]
    },
    "stackos-router": {
      "httpUrl": "https://stackos-ai.vercel.app/api/mcp"
    }
  }
}
3. Cursor IDE & Claude Desktop (.mcp.json)
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp@latest"
      ]
    },
    "stackos": {
      "url": "https://stackos-ai.vercel.app/api/mcp"
    }
  }
}
4. Non-Destructive Workspace Auto-Installer (Merges .mcp.json + SKILL.md)
curl -fsSL "https://stackos-ai.vercel.app/api/plugins/install?tools=context7-mcp&src=plugin-seo-context7-mcp" | node

Recommended SKILL.md / GEMINI.md Rule & GitHub README Badge

Always call resolve-library-id and query-docs before generating framework or SDK code.

Context7 Live Framework Docs MCP verified on StackOSEmbed this live SVG badge in GitHub READMEs or engineering docs:

Best Companion Plugins for Coding, Docs Grounding & PR Review