Servidor MCP Oficial

Context7 MCP

Upstash's MCP server that injects up-to-date, version-specific library docs and code examples into your prompt.

Autor
Upstash
Funciona com
Any MCP client, Claude Code, Cursor
Licença
MIT
Documentado
Oct 2, 2026

O que é Context7 MCP

Context7 pulls current documentation and code examples straight from the source into the model's context, to avoid outdated or hallucinated APIs. It works as CLI plus skills, or as an MCP server.

O que ela faz

Como o Context7 MCP se integra: quais agentes o executam e o que ele acrescentaEXECUTA EMSeu agenteAny MCP clientClaude CodeCursor3 hosts documentadosMCP SERVER · OFICIALContext7 MCPConecte o agente a ferramentas, d…5 etapas de instalação1 nota de permissãolicença: MITO QUE ELA ACRESCENTAO que ela fazResolve a library name to a Conte…Fetch docs for a library ID and q…Match a specific library version…Accept direct library IDs like /v…agente → extensão → nova capacidade · do repositório ou da documentação oficial
Onde Context7 MCP roda e o que acrescenta, segundo a documentação
  • Resolve a library name to a Context7 library ID (resolve-library-id)
  • Fetch docs for a library ID and question (query-docs)
  • Match a specific library version mentioned in the prompt
  • Accept direct library IDs like /vercel/next.js in prompts
  • Set up with one command: npx ctx7 setup

Quando usar

Boa adequação

  • Coding against fast-changing libraries and frameworks
  • Avoiding hallucinated or outdated API usage

Não indicado para

  • Questions that do not involve library documentation
  • Heavy use without an API key: README recommends one for higher rate limits

Como instalar o Context7 MCP

Você precisa de: Node.js 18+ for the ctx7 CLI; Free API key recommended from context7.com/dashboard

  1. Install Node.js 18 or newer
  2. Run npx ctx7 setup (use --cursor, --claude or --opencode to target an agent)
  3. Choose CLI + Skills or MCP mode
  4. Or manually point your client at https://mcp.context7.com/mcp with an Authorization: Bearer API key header
  5. Optionally add a rule telling the agent to use Context7
Exemplo de configuração (da documentação oficial)
{
  "mcpServers": {
    "context7": {
      "url": "https://mcp.context7.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Permissões e segurança

A que ela tem acesso

  • Sends your query and library name to the Context7 service

Notas de segurança dos mantenedores

  • Queries go to the hosted Context7 service; README does not detail data handling

Revise a fonte antes de conceder ao agente acesso a credenciais ou sistemas de produção. Documentamos o que os mantenedores informam; não auditamos o código.

Limitações

  • Rate limits are higher with an API key

Ferramentas que ela estende

Claude Code

Web · Desktop

Ainda sem avaliações de usuários

Ferramenta de programação agêntica da Anthropic que lê sua base de código, edita arquivos e executa comandos pelo terminal, por IDEs, pelo app desktop ou pelo navegador.

O plano gratuito termina em: Não há plano gratuito: o Claude Code está incluído nas assinaturas pagas do Claude (Pro, Max, Team, Enterpris…

Listed Ainda não avaliada

Verificado code.claude.com (abre o site de Claude Code em uma nova aba)

A partir de $20/mo EUA · verificado Sep 29

Perguntas frequentes

How do I install Context7 for Claude Code or Cursor?

Run npx ctx7 setup with --claude or --cursor. fonte

What tools does Context7 MCP expose?

resolve-library-id and query-docs. fonte

Do I need an API key for Context7?

It is recommended for higher rate limits; a free key is available at context7.com/dashboard. fonte

Guias relacionados

Fontes e lacunas

Não informado pelos mantenedores: Tool permission scope beyond doc retrieval not described; last_release date not visible in the checked README.

Mais extensões para conhecer