---
title: Context7 MCP Server - Docs for AI Code Editors
canonical: https://skillselion.com/mcp/tool/io.github.upstash/context7
content_type: text/markdown
description: "Context7 by upstash - Context7 is an MCP server that fetches up-to-date, version-specific code documentation and adds it to an AI assistant's context."
---

# Context7 MCP Server - Docs for AI Code Editors

> Context7 by upstash - Context7 is an MCP server that fetches up-to-date, version-specific code documentation and adds it to an AI assistant's context.

Canonical: https://skillselion.com/mcp/tool/io.github.upstash/context7

Context7 is Upstash's MCP server for library documentation. It resolves the library you name, fetches the docs for the version you installed, and returns the relevant sections and code examples in the agent's context, so the code it writes targets the real API instead of a memorized snapshot. The repository is MIT licensed and public with 60.5k stars.

Context7 is an MCP server that fetches up-to-date, version-specific code documentation and adds it to an AI assistant's context. A solo builder reaches for it when an agent gets an API call wrong because its training data is old. It runs as a stdio package from npm and takes an optional API key.

## Key facts

- Installs: 0
- GitHub stars: 65,527
- Author: upstash
- Repository: upstash/context7
- Install command: `npx ctx7 setup`
- Last updated: November 26, 2026

## What Context7 MCP does

Pulls current library docs into the prompt so a solo builder's agent stops writing code against outdated APIs.

- Up-to-date code docs for any prompt
- Runs as a stdio MCP package from npm
- Optional CONTEXT7_API_KEY for authentication

## Context7 MCP FAQ

### Is there a Context7 skill for Claude Code?

Yes. Upstash ships two modes, and npx ctx7 setup can install a skill that fetches docs through the ctx7 CLI with no MCP server at all. This page is the MCP mode, which registers the server with your client instead.

### How do I use Context7 with Claude Code?

Register it with the claude mcp add command shown above, or point your client at the remote endpoint Upstash hosts. The npm package runs the same server on your own machine when you would rather not depend on the hosted one.

### How do I install Context7 MCP Server - Docs for AI Code Editors?

npx ctx7 setup

## Machine access

- [Sitemap](https://skillselion.com/sitemap.xml)
- [llms.txt](https://skillselion.com/llms.txt)
- [llms-full.txt](https://skillselion.com/llms-full.txt)
- [Developer resources](https://skillselion.com/developers)
- [OpenAPI spec](https://skillselion.com/openapi.json)
- [MCP handshake](https://skillselion.com/.well-known/mcp)
- [API catalog](https://skillselion.com/.well-known/api-catalog)
- [AI catalog](https://skillselion.com/.well-known/ai-catalog.json)
- [Pricing](https://skillselion.com/pricing.md)
- [Auth](https://skillselion.com/auth.md)
- [AGENTS.md](https://skillselion.com/AGENTS.md)
- [Contact](https://skillselion.com/contact)
- [Home](https://skillselion.com/)
