# Context7 MCP server

> Ask in plain English for current library docs and code examples from Context7, right inside RevampKey.

## Server URL

`https://mcp.context7.com/mcp` (Streamable HTTP)

- Sign-in: No account needed
- Connect in RevampKey: https://revampkey.com/marketplace/context7

## Agent skills (1)

- [Context7 essentials: use current library docs with AI coding agents](https://revampkey.com/marketplace/context7/skills/essentials.md): Guides a coding agent to look up the right library and version with Context7, ask focused documentation questions, and write code from current docs instead of memory. Read-only, so it changes nothing without asking.

All skills: https://revampkey.com/marketplace/context7/skills.md

Context7 is a documentation service for developers who work with AI coding agents. It brings up-to-date, version-specific documentation and code examples from the source into the agent. The sources say this means less outdated code and fewer invented APIs. Its own examples cover Next.js and Cloudflare Workers.

Connected in RevampKey, Context7 lets you ask in plain English about a library. The agent first finds the Context7 library ID for the library you name. Then it reads that library's docs and code examples and answers from them. You can ask for a Next.js proxy that checks a JWT cookie, or a Cloudflare Worker that caches JSON API responses for five minutes.

## What you can do

### Writing a Next.js auth proxy

You need a Next.js proxy that checks a JWT in cookies and sends logged-out users to /login. You ask the agent to check Context7. It finds the Next.js library ID, reads the current docs and code examples, and summarizes the approach it found, including the example code from those docs.

### Caching API responses in a Cloudflare Worker

You want a Cloudflare Worker that caches JSON API responses for five minutes. You ask the agent what Context7 says about this. It finds the Cloudflare Workers library ID, reads the docs, and explains the caching setup and example code it finds. You decide what, if anything, to copy into your project.

### Reading docs for the version you use

You are working on an older release of a library and need its API. You ask the agent what the docs say for that version. It finds the library ID, reads the version-specific documentation, and summarizes the calls you need, so you do not have to rely on memory or old training data.

## Things to ask

- Use Context7 to show how to write a Next.js proxy that checks a JWT in cookies and redirects to /login.
- Find the Context7 library ID for Cloudflare Workers.
- What does the Cloudflare Workers documentation say about caching JSON API responses for five minutes?
- Summarize the Next.js docs for the version I am using, focusing on proxies.
- List the libraries Context7 finds for JWT handling and what each one covers.

## What the agent can do

### Finding libraries

Turn a library name, such as Next.js or Cloudflare Workers, into the Context7 library ID. The agent uses this ID to find that library's documentation.

`resolve-library-id`

### Library docs and code examples

Read version-specific documentation and code examples for a library, then answer your question or summarize what you find. Ask how to set up a proxy, cache responses, or use a specific API.

`query-docs`

## FAQ

### What do I need to connect Context7 to RevampKey?

Open the Connectors tab in RevampKey and connect Context7 from there. Context7 is listed under Developer tools and is available now. You do not need to write any code to start asking questions once it is connected.

### What can the agent do in Context7, and what can't it do?

The agent can find a library's Context7 ID and read its version-specific docs and code examples. It then answers your question or summarizes what it found. Its two tools are resolve-library-id and query-docs. No tool writes to Context7 or changes your files, so the agent cannot make those changes through this connector.

### What data goes to Context7, and does the agent ask before acting?

When the agent calls its tools, library names and your questions are sent to Context7. The agent asks before it changes anything. Because these tools only read documentation, there is nothing to approve in Context7 itself. Check the agent's answers before you rely on them.

### Why use Context7 instead of asking the AI model directly?

Context7 pulls version-specific docs and code examples straight from the library source, instead of relying on old training data. Context7 says this helps avoid outdated code and hallucinated APIs. Your agent gets the current documentation for each library you ask about.

### What is the Context7 MCP server URL?

The Context7 MCP server URL is https://mcp.context7.com/mcp. It uses the Streamable HTTP transport, so any client that supports remote MCP servers can connect to it.

### How does the Context7 MCP server authenticate?

It needs no account or key.

### What can an AI agent do with the Context7 MCP server?

It exposes 2 tools: 2 that read and 0 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

### Are there agent skills for Context7?

Yes. 1 SKILL.md playbooks teach an agent how to do real Context7 work step by step. RevampKey installs them when you connect Context7; for Claude Code, Cursor or Codex you can copy them into your project.

## Tools (2)

- `query-docs`
- `resolve-library-id`

## Details

- Maker: Context7
- Setup: Connect from the app
- Category: Developer tools
- Documentation: https://context7.com/docs/overview

Page: https://revampkey.com/marketplace/context7
