STDIO Context7 MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| API_KEY | No | Context7 API key for authentication, supplied via the `--api-key <key>` CLI argument. Optional; get one at https://context7.com/dashboard for higher rate limits. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| resolve-library-idB | Resolves a general library name into a Context7-compatible library ID. |
| get-library-docsB | Fetches documentation for a library using a Context7-compatible library ID. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
The two tools form a clear two-step pipeline: one converts a library name to an ID, the other consumes that ID to return docs. There is no overlap in inputs or purpose, so an agent cannot mistake one for the other.
Both names are kebab-case verb_noun constructions (resolve-library-id, get-library-docs) with a consistent 'verb-library(s)-object' shape. The pattern is predictable and readable.
Two tools is the minimal correct surface for a documentation lookup service, and each is essential to the workflow. It is on the thin side, but nothing here is redundant or missing for the stated purpose.
The resolve-then-fetch lifecycle fully supports the core use case of retrieving library docs. Minor gaps exist — no topic/keyword search within docs, no version enumeration, and no reverse lookup from ID to library name — but agents can work around them.