---
title: "Context7 MCP Server for ToolPiper · ModelPiper"
description: "Up-to-date, version-specific docs for libraries and frameworks. Context7 fixes the stalest part of coding with an LLM: library docs. It pulls current, version-specific documentation and code examples for thousands of pac"
canonical: "https://modelpiper.com/mcp-tools/context7"
---

# Context7 MCP Server for ToolPiper · ModelPiper

> Up-to-date, version-specific docs for libraries and frameworks. Context7 fixes the stalest part of coding with an LLM: library docs. It pulls current, version-specific documentation and code examples for thousands of pac

C

# Context7 MCP Server

✓ verified

Up-to-date, version-specific docs for libraries and frameworks.

Install Context7 in ToolPiper

Don't have ToolPiper? We'll take you to the download.

[Open repository →](https://github.com/upstash/context7)

Publisher

[Upstash](https://github.com/upstash/context7)

License

MIT

Transport

Local subprocess

Tools

2

## What this server does

Context7 fixes the stalest part of coding with an LLM: library docs. It pulls current, version-specific documentation and code examples for thousands of packages and injects them into the model's context, so the assistant stops hallucinating APIs that shipped after its training cutoff. Ask it to resolve a library, then fetch the docs for the version you actually use. It works without a key on a rate-limited free tier; add a Context7 API key for higher limits.

## Tools included

-   resolve\_library\_id
    
    Resolve a library name to a Context7 ID.
    
-   get\_library\_docs
    
    Fetch current, version-specific docs for a library.
    

The authoritative list comes from the server's tools/list at runtime. This catalog entry may lag the upstream until the next ToolPiper release.

## Install in ToolPiper

ToolPiper handles the JSON configuration. Click Install, fill in any required tokens, and the server is ready in your chat.

Install Context7 in ToolPiper

Don't have ToolPiper? We'll take you to the download.

## Install in another client

Install in another MCP client (Claude Desktop, Cursor, Continue, Cline)

Claude Desktop Cursor Continue Cline

Add this to ~/Library/Application Support/Claude/claude\_desktop\_config.json.

```
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}
```

Copy

## Example prompts

-   "Get the current docs for the Next.js App Router and show me how to set up a route handler."
    
    Copy
-   "How do I configure retries in the latest version of the AWS SDK for JavaScript?"
    
    Copy
-   "Pull the Tailwind v4 config reference and explain the @theme directive."
    
    Copy

## Security notes

Works keyless on a rate-limited free tier, so no credential is required to start. An optional CONTEXT7\_API\_KEY raises limits; if you add one, treat it as a credential. The server only reads public documentation, so the privacy posture is low-risk; the content it returns is third-party docs, not your code.

## Related tools

-   [
    
    G
    
    ### GitHub
    
    ✓ verified
    
    Create issues, manage pull requests, and search repositories from your AI assistant.
    
    Developer ToolsLocal subprocess5 tools
    
    
    
    
    
    ](/mcp-tools/github)
-   [
    
    G
    
    ### GitHub (Remote)
    
    ✓ verified MAX
    
    OAuth-protected GitHub MCP. Manage repos, issues, and pull requests with no token to copy.
    
    Developer ToolsRemote HTTP5 tools
    
    
    
    
    
    ](/mcp-tools/github-remote)
-   [
    
    G
    
    ### Git
    
    ✓ verified
    
    Read, search, and manipulate Git repositories on disk.
    
    Developer ToolsLocal subprocess5 tools
    
    
    
    
    
    ](/mcp-tools/git)
-   [
    
    E
    
    ### Everything
    
    ✓ verified
    
    Reference test server exercising every MCP feature.
    
    Developer ToolsLocal subprocess5 tools
    
    
    
    
    
    ](/mcp-tools/everything)

[← Back to all MCP tools](/mcp-tools)
