Context7
MCP server upstash/context7/io.github.upstash/context7
Up-to-date code docs for any prompt
claude mcp add context7 -- npx -y @upstash/context7-mcpAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
In 3 stacks
Whose pick this was
Write against the API that exists today
The default move, and it is the right default. Version-pinned documentation fetched at the moment of writing, rather than recalled from whenever the model last saw this library. Worth pointing at the version the project actually installs, because "latest" is its own way of being wrong.
agentscliIn house
Read a codebase you did not write
Fixes the failure that looks least like a context problem: the agent knows the library, just the version from its training data. Wrong API, confident tone, no error until runtime.
agentscliIn house
A review that is not a rubber stamp
Then check the claims the diff makes about somebody else's library. Reviewing agents are worst at this exact thing, because the call looks idiomatic and the model has genuinely seen that API. It has seen an older one. Version-pinned documentation is what turns "looks right" into "is right for the version this project installs".
agentscliIn house flow