OpenParable
Skip to content
← Back to skills

Context7

Research
context7

Context7 is an Agent Skill for research published in the RTGS2017/NagaAgent repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Context7 MCP via mcporter (stdio). Use for library/API docs, setup, and configuration guidance with up-to-date sources.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/RTGS2017/NagaAgent/blob/HEAD/apiserver/skills_templates/context7/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/context7, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Context7 via MCP (stdio)

Use the Context7 MCP server through mcporter in stdio mode. This keeps the MCP server local and avoids extra config files.

Quick Checks

npx -y mcporter@latest list --stdio "npx -y @upstash/context7-mcp@latest" --name context7 --schema

Resolve Library ID

npx -y mcporter@latest call --stdio "npx -y @upstash/context7-mcp@latest" --name context7 resolve-library-id \
  query="How do I use React hooks?" \
  libraryName="react"

Query Docs

npx -y mcporter@latest call --stdio "npx -y @upstash/context7-mcp@latest" --name context7 query-docs \
  libraryId="/websites/react_dev" \
  query="useEffect cleanup examples"

Optional API Key

If you have a Context7 API key, set CONTEXT7_API_KEY in the environment before running the commands above.