Looks up current library docs and code examples by name, then by library id.

How it works

Foe: Fog Wraith, missing facts, outdated docs or thin context.

Foes

  • Fog Wraith

Party · Context

  • PaladinYour agent100/100
  1. Fog Wraith

    The Fog Wraith blocks the way.

    What really happensIt stands for missing facts, outdated docs or thin context.

    Paladin: Context 100/100.

  2. Haze

    The Fog Wraith breathes haze. Swings start to miss.

    What really happensWithout current docs, the agent guesses at APIs that may have changed.

    Paladin takes 8. Paladin: Context 92/100. Paladin: Haze.

  3. Context7 MCP

    The Context7 orb opens a portal to a live docs vault.

    What really happensThe agent connects to the Context7 MCP server and can call resolve-library-id and query-docs.

    Fog Wraith takes 29.

  4. Context7 MCP

    The orb matches the library name to a real shelf.

    What really happensresolve-library-id turns a name such as Next.js into a Context7 id like /vercel/next.js.

    Fog Wraith takes 13.

  5. Haze

    The Fog Wraith uses Haze.

    Paladin takes 8. Paladin: Context 84/100. Paladin: Haze.

  6. Context7 MCP

    A question strikes the shelf and current pages fall out.

    What really happensquery-docs returns documentation and code examples for that id. Put a version in the id when you need one.

    Fog Wraith takes 32.

  7. Context7 MCP

    The Fog Wraith thins, and the hero keeps the fresh pages.

    What really happensThe agent writes against the fetched docs instead of a stale memory of the library's API.

    Fog Wraith takes 26. Fog Wraith falls.

  8. Victory

    The Fog Wraith falls.

Learn this spell

Claude Code

claude mcp add --scope user context7 -- npx -y @upstash/context7-mcp --api-key YOUR_API_KEY

Codex

codex mcp add context7 -- npx -y @upstash/context7-mcp --api-key YOUR_API_KEY

Notes

Hosted at https://mcp.context7.com/mcp. Tools are resolve-library-id and query-docs. An API key from context7.com/dashboard raises rate limits. npx ctx7 setup asks you to pick CLI plus skills, or MCP. This spell is the MCP server. Node.js 22.13 or newer if you use the ctx7 CLI. MIT covers the repository, not the private API backend. Library docs are community-contributed.

This spell has no recorded sessions in the curator's logs. Tried it? Send a spell report.