mcp-context7

Retrieve version-specific API documentation for external libraries and frameworks.

5|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/tiancaiamao/ai --skill mcp-context7-tiancaiamao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-context7
Source: https://github.com/tiancaiamao/ai/tree/main/skills/mcp-context7
Command: npx skills add https://github.com/tiancaiamao/ai --skill mcp-context7-tiancaiamao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, jq, and includes scripts (resource) components.

What problem does it solve?

This Skill removes the risk of coding against stale or incorrect library documentation by retrieving current, version-aware API references on demand.

Core Features & Use Cases

  • Version-Specific Documentation Lookup: Finds API details for the exact package version you are using.
  • Symbol-Level API Checks: Looks up functions, methods, and parameters when you need precise usage guidance.
  • Multi-Ecosystem Coverage: Supports common stacks such as Go, Python, JavaScript, Rust, and Ruby.
  • Use Case: A developer upgrading a dependency can verify the current signature before changing code, reducing breakage from deprecated or renamed APIs.

Quick Start

Ask the skill to look up the latest documentation for the package and symbol you are using so you can implement against the current API with confidence.

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 API documentation for a specific library version to avoid outdated behavior?

To fetch current API documentation for a specific library version, you can query Context7 to retrieve version-aware references. This prevents code from relying on outdated or hallucinated library behavior by providing exact symbol-level guidance for the package version you are using.

Can I look up symbol-level API details for Go modules and other ecosystems?

Yes, you can look up symbol-level API details for Go modules, Python, JavaScript, Rust, and Ruby. The Skill queries Context7 to find specific functions, methods, and parameters when you need precise usage guidance for these common stacks.

What do I need to query Context7 and retrieve external library references?

To query Context7 and retrieve external library references, you need an API key, network access, and command-line parsing support. The Skill uses curl and jq dependencies to query the service and format the returned documentation.

How do I verify current function signatures before upgrading a dependency?

To verify current function signatures before upgrading a dependency, retrieve version-specific API documentation using Context7. A developer can check the current signature before changing code, reducing breakage from deprecated or renamed APIs.

Does this approach work for debugging deprecated or renamed methods in external frameworks?

Yes, this approach works for debugging deprecated or renamed methods in external frameworks. By retrieving current, version-aware API references on demand, it covers symbol-level checks for external libraries during implementation, debugging, and upgrades.