MCP Servers · Publisher repository

Context7

Provides coding agents with current library documentation and version-aware code examples.

60.8k StarsMITTypeScriptUpdated 3 days ago
01

Project overview

Provides coding agents with current library documentation and version-aware code examples. Its core areas include Library documentation, Versioned examples, Coding context. Start with the repository documentation and the smallest practical scope before adopting it broadly.

02

Core capabilities

01

Library documentation

Exposes Library documentation to compatible clients through MCP tools.

02

Versioned examples

Exposes Versioned examples to compatible clients through MCP tools.

03

Coding context

Exposes Coding context to compatible clients through MCP tools.

03

Setup and connection

This usage path is based on the current public documentation for Context7. Complete the steps in order before using it from your agent.

AI AGENT INSTALL

Let an AI Agent install it

Send this prompt to Codex, Claude Code, or another AI agent that can work with your local environment.

Help me install this MCP: Context7
Project URL: https://github.com/upstash/context7

Read the README and installation files first, confirm the current environment and target directory, then follow the project's documented installation method. Run a minimal verification task afterward and report the install location, steps, and result. Ask before requesting credentials, additional permissions, overwriting files, or performing risky actions.
01Before you start
  • Prepare a compatible agent or runtime
  • Confirm access to the local files or services required by the project
02Copy the install command or configuration
Project URL: https://github.com/upstash/context7/tree/master/packages/mcp
Copy the URL and follow the steps below to complete setup.
03Complete the setup steps
  1. 1
    Apply the configuration

    Use the command or configuration above to add the resource to the current agent environment.

  2. 2
    Complete required setup

    Complete path, permission, or connection settings for the current runtime.

  3. 3
    Run a minimal task

    Run a minimal task in the agent. If the resource is recognized and returns the documented type of result, the setup is active.

How to verify the setup

Run a minimal task in the agent. If the resource is recognized and returns the documented type of result, the setup is active.

04

Use cases

SCENARIO 01

You need to connect an AI agent to tools, browsers, code, or data through MCP

SCENARIO 02

Your current task needs Library documentation or Versioned examples

05

Assessment

Why it may be useful

  • You need to connect an AI agent to tools, browsers, code, or data through MCP
  • Your current task needs Library documentation or Versioned examples

What to know first

  • Your agent does not support MCP or you cannot provide the required environment
  • You want to use it in production without reading the repository documentation or reviewing permissions
06

README

Context7


Overview

Provides coding agents with current library documentation and version-aware code examples. Up-to-date code documentation for LLMs and AI code editors.

Getting started

  • This usage path is based on the current public documentation for Context7. Complete the steps in order before using it from your agent.
  • Project focus: Provides coding agents with current library documentation and version-aware code examples.
  • Published characteristics: Remote and local, MCP, Documentation retrieval.
  • Run a minimal task in the agent. If the resource is recognized and returns the documented type of result, the setup is active.

Configuration

Project URL: https://github.com/upstash/context7/tree/master/packages/mcp
Copy the URL and follow the steps below to complete setup.
Read the complete README on GitHub