mcp-context7

Queries Context7 MCP server to retrieve current library documentation and API references.

3|2|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/Yoodaddy0311/artibot --skill mcp-context7-yoodaddy0311
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mcp-context7
Source: https://github.com/Yoodaddy0311/artibot/tree/main/plugins/artibot/skills/mcp-context7
Command: npx skills add https://github.com/Yoodaddy0311/artibot --skill mcp-context7-yoodaddy0311

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Library APIs change frequently and training data quickly becomes outdated, leading to deprecated method calls and broken implementations. This Skill provides a structured workflow for looking up live, version-accurate documentation through the Context7 MCP server before writing code. ## Core Features & Use Cases - Library Resolution Workflow: Resolves a library name to a Context7 ID first, then queries topic-specific docs, never guessing API signatures. - Caching and Fallbacks: Caches successful query results within a session and falls back to WebSearch or built-in knowledge when the server is unavailable. - Use Case: When implementing JWT authentication in Express.js, resolve the Express library ID, query Context7 for current middleware patterns, and apply version-compatible code instead of relying on stale training data. ## Quick Start Ask the agent to look up the current official documentation for a specific library or framework feature before implementing it.

Frequently Asked Questions about mcp-context7

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I look up current library documentation with Context7?▼

Call resolve-library-id with the library name and your query, then call query-docs with the resolved ID and a specific topic. Always resolve the ID first rather than guessing, and include version and topic details in your query.

What is the Context7 MCP server used for?▼

Context7 is an MCP server that provides live, version-specific documentation for libraries and frameworks. It lets coding agents query official docs at runtime instead of relying on potentially outdated training data.

What happens when Context7 cannot find a library?▼

Retry with broader search terms, then fall back to WebSearch for official documentation. If the server times out or is down, use cached session results or built-in knowledge while noting the limitations.

How many Context7 queries should I make per question?▼

Limit lookups to a maximum of three calls per question and use the best result after three attempts. Specific queries with version and topic details reduce the number of calls needed.

When should I not use Context7 documentation lookup?▼

Skip it for general reasoning, code review, or business logic tasks that do not depend on current library APIs. It is intended specifically for verifying external dependency documentation and framework patterns.