AITeamGuide

AITeamGuide Hub · MCP server

Context7

An MCP server and CLI that feeds coding assistants up-to-date library docs so they stop using outdated APIs.

MCP server★ 66k starsMITSoftware development

View on GitHub

Short answer: how to install Context7

Context7 is an MIT-licensed, open-source MCP server on GitHub (upstash/context7) with 65,791 stars as of December 2, 2026. Its last push was on December 2, 2026. To install it in Claude Code, run claude mcp add --transport http context7 https://mcp.context7.com/mcp. It's a remote server, so you can also add https://mcp.context7.com/mcp as a custom connector in Claude. It works with Claude Code, Cursor, Codex, VS Code, Any MCP client; steps for each are below.

Key facts

Type
MCP server
Jobs it fits
Get current docs while coding
Fields
Software development
Works with
Claude Code, Cursor, Codex, VS Code, Any MCP client
GitHub
upstash/context7
Licence
MIT
Stars
65,791 as of December 2, 2026
Last updated
December 2, 2026 (last push to GitHub)
Author
@upstash
Submitted by
@aiteamguide
Added to the Hub
October 21, 2026

Install / Use it

MITRemote MCP server

Download ZIP View source

Cursor

Add to Cursor

Or paste into ~/.cursor/mcp.json

{
  "mcpServers": {
    "context7": {
      "url": "https://mcp.context7.com/mcp"
    }
  }
}

Claude Code

Run in your terminal

claude mcp add --transport http context7 https://mcp.context7.com/mcp

Claude

This is a remote server. In Claude, add it as a custom connector with this URL:

Remote MCP server URL

https://mcp.context7.com/mcp

VS Code

Add to VS Code

Or from the command line

code --add-mcp '{"name":"context7","type":"http","url":"https://mcp.context7.com/mcp"}'

ChatGPT

Remote server: add it in ChatGPT as a custom connector (developer mode) with this URL. Availability depends on your ChatGPT plan.

Remote MCP server URL

https://mcp.context7.com/mcp

Codex

Run in your terminal

codex mcp add context7 --url https://mcp.context7.com/mcp

Quickstart

Guided setup

npx ctx7 setup

Safety: Runs code from a third-party repo. Review the source and the permissions before installing.

Commands and configs are taken from the project's README and re-wrapped in each app's documented format. If they differ, the README wins.

How to add MCP servers in your app, step by step: Claude Code · Cursor · VS Code · Claude Desktop · Codex · Gemini CLI · Copilot CLI · OpenCode · Cline · Roo Code · Kilo Code · Zed · LM Studio · Antigravity · Windsurf · Hermes Agent · ChatGPT.

FAQ

What is the Context7 server URL?

The remote MCP server URL is https://mcp.context7.com/mcp (from the project's README). Add it as a custom connector in Claude or ChatGPT, or use it in any MCP client that supports remote (HTTP) servers.

How do I add Context7 to Claude Code?

Run claude mcp add --transport http context7 https://mcp.context7.com/mcp in your terminal.

How do I add Context7 to Codex?

Run codex mcp add context7 --url https://mcp.context7.com/mcp in your terminal.

How do I add Context7 to Cursor?

Use the Add to Cursor button in the install panel on this page, or paste this entry under mcpServers in ~/.cursor/mcp.json: {"context7":{"url":"https://mcp.context7.com/mcp"}}.

Is Context7 free?

The code is open source under the MIT licence, so it's free to use. Any account or API key the connected service needs is billed by that service, not by the project; see the README.

Is Context7 still maintained?

Its last push to GitHub was on December 2, 2026, and it had 65,791 stars as of December 2, 2026. We re-check GitHub daily.

Prefer a ready-made product?

Commercial agents for the same job, with real prices: Cursor, Claude Code, OpenAI Codex, all coding agents.

Get new open-source AI tools like Context7 in one weekly email

One email a week: new open-source agents, skills, MCP servers and playbooks from the Hub, plus AI agent price changes and new free plans. Free; unsubscribe anytime.

Free, no signup needed: the AI agent pricing cheat sheet, the cheapest listed plan for every job on one printable page.

The pricing cheat sheet is a free page on this site (no signup needed). Not sure yet? Read the latest issue first.

More from the Hub

Summary written by AITeamGuide in our own words. GitHub numbers come from the public GitHub API and refresh daily. Maintainer and want a correction or removal? Tell us. Got something similar? Submit it to the Hub.

Featured in our guide: Best MCP servers for coding.