zed-mcp-server-context7
by akbxr·★ 106·Score 44
MCP server that integrates Context7 to fetch up-to-date documentation for Zed Assistant.
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:
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 READMEresolve-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
Installation
Installation
- Install from the Zed extension marketplace
- 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)
- 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
Last updated · Auto-generated from public README + GitHub signals.