Skip to main content

Module context7

Module context7 

Source
Expand description

Context7 documentation tools. Context7 documentation tools.

Built-in tools that call the Context7 API directly (no MCP).

  • context7_resolve-library-id: Search for libraries and get a Context7-compatible ID
  • context7_query-docs: Fetch up-to-date documentation for a library

API reference: https://context7.com/api

§API key resolution

  1. ~/.config/oxicode/keys/context7 — plain text file containing the key (one line)
  2. CONTEXT7_API_KEY environment variable (fallback)

Anonymous access works without a key but has lower rate limits.

Structs§

Context7QueryDocsTool
Query up-to-date documentation from Context7.
Context7ResolveLibraryIdTool
Resolve a library name to a Context7-compatible library ID.