MCP Catalogs
Home

zed-mcp-server-context7

by akbxr·106·Score 44

MCP server that integrates Context7 to fetch up-to-date documentation for Zed Assistant.

developer-toolsai-llmproductivity
5
Forks
1
Open issues
8 mo ago
Last commit
2d ago
Indexed

Overview

The Context7 MCP Server for Zed provides a seamless integration of Context7's documentation retrieval capabilities directly into Zed's Assistant. When users add 'use context7' to their questions, the server fetches current, version-specific documentation and code examples from source documentation, eliminating outdated information and hallucinated APIs. This extension works by allowing the LLM to access real-time documentation through two main tools: resolving library names to Context-compatible IDs and fetching documentation using those IDs.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Getting up-to-date API documentation for libraries in Zed Assistant
you:Avoiding outdated code examples in LLM responses
you:Version-specific documentation queries for frameworks like Next.js and React
you:How do I use Context7 with Zed Assistant?
you:What libraries does Context7 support?

When to choose this

Choose this MCP server if you're using Zed and need up-to-date documentation for modern frameworks, especially when working with Next.js, React, or other rapidly evolving technologies.

When NOT to choose this

Don't choose this if you're not using Zed or if you need documentation for niche frameworks not supported by Context7 service.

Tools this server exposes

2 tools extracted from the README
  • resolve-library-idresolveLibraryId(libraryName?: string)

    Resolves a general library name into a Context7-compatible library ID.

  • get-library-docsgetLibraryDocs(context7CompatibleLibraryID: string, topic?: string, tokens?: number)

    Fetches documentation for a library using a Context7-compatible library ID.

Comparable tools

mcp-firefoxmcp-chromedocsearch-mcp

Installation

Installation

  1. Install from the Zed extension marketplace
  2. For agent mode configuration:

- Open Zed's assistant settings - Enable the Context7 MCP server (toggle red dot to green) - Enable Context7 in the active assistant profile (Write | Ask → tools)

  1. Optional environment variables:

``json { "context_server": { "mcp-server-context7": { "source": "extension", "enabled": true, "settings": { "context7_api_key": "YOUR_CONTEXT7_API_KEY" } } } } ``

FAQ

How do I use Context7 with Zed Assistant?
Simply add 'use context7' to the end of your question in Zed Assistant. The server will automatically fetch up-to-date documentation for your query.
What libraries does Context7 support?
Context7 supports a wide range of programming libraries. You can use the 'resolve-library-id' tool to check if a specific library is supported.

Compare zed-mcp-server-context7 with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.