← Method

mcp

Context7 MCP

Current library documentation on demand. Agents check the real docs before writing framework code — training data is always behind.

What it is

An MCP server that fetches current documentation for libraries, frameworks, and CLIs on demand. Training data is always behind the release cycle; this closes the gap at the moment code gets written.

Why

Framework APIs change faster than any model's training data — this repo's own framework version is ahead of what the models know. Checking current docs before writing code beats debugging code written against last year's API.

How I use it

Any task touching a library API — even a familiar one — resolves the library and queries its live docs first. This repo runs framework versions ahead of most training data, so the habit is load-bearing here, not hygiene.

Get it

Add the Context7 MCP server to your client — it's free for public docs. Query with the full question, not a keyword.

Connected

This thread is scoped to Context7 MCP. Opening another node starts a new one.

Ask this node