MCP serverValidated

Context7 MCP — current library docs in context

Pulls version-accurate, current documentation for the library you're using into the session — the antidote to the model confidently writing against an API that changed two majors ago.

com.context7/mcpOfficial docs →

A vetted listing, not an install — add the config to your MCP client yourself. CoSquared never writes MCP config.

Why this one

Stale API knowledge is one of the most common ways generated code silently fails; fetching the real docs fixes it at the source.

How to use it

  1. 1Ask for the docs of the exact version in your lockfile
  2. 2Prefer cited doc snippets over the model's memory for API shapes

Client config

Placeholders only — bring your own values

{
  "mcpServers": {
    "context7": {
      "url": "https://mcp.context7.com/mcp"
    }
  }
}

Security notes

A third-party hosted service: your queries (library names, topics) are sent to it, though your code is not. No credentials are required for public docs — keep it that way and treat returned content as untrusted input like any web page.