mcp-context7

Fetch current library documentation via the Context7 MCP server.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/shellicar/skills --skill mcp-context7-shellicar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-context7
Source: https://github.com/shellicar/skills/tree/main/skills/mcp-context7
Command: npx skills add https://github.com/shellicar/skills --skill mcp-context7-shellicar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Context7 MCP provides up-to-date library documentation and version information, preventing configurations and scaffolding from relying on stale training data.

Core Features & Use Cases

  • Fetch current library documentation via the Context7 MCP server for up-to-date API references, config patterns, and version information.
  • Two-step query flow: resolve library ID, then query docs, ensuring accurate results for frequently updated libraries.
  • Installation and version management: pin MCP versions and follow the required steps to enable server access within workflows.

Quick Start

Install and start the Context7 MCP server, then resolve a library ID and fetch its docs to begin using current references.

Frequently Asked Questions about mcp-context7

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

FAQPage Schema
How do I fetch current library documentation for project scaffolding?

Fetch current library documentation by using the Context7 MCP server's two-step flow: resolve the library ID first, then query its docs to get up-to-date API references and config patterns for scaffolding.

Why does my generated library configuration use outdated API references?

Outdated API references occur when relying on stale training data. Querying the Context7 MCP server fetches current library documentation, preventing configurations and scaffolding from using obsolete version information.

How do I install the Context7 MCP server to fetch up-to-date docs?

Install and start the Context7 MCP server, then follow the required installation steps to enable server access within workflows, allowing you to resolve library IDs and fetch current documentation.

Can I pin specific library versions when fetching documentation via MCP?

Yes, you can pin MCP versions during installation. Version pinning integrates current documentation into workflows, ensuring accurate references for frequently updated libraries.

What's the best way to select library versions that update frequently?

Select frequently updated library versions by querying the Context7 MCP server. The two-step flow resolves the library ID and fetches current docs, ensuring you retrieve the latest version information.

When should I not use Context7 MCP for fetching library documentation?

Context7 MCP is unnecessary for static libraries with infrequent updates. It is designed specifically for fetching current documentation when generating configurations or selecting library versions that update frequently.