mcpField
M
mcp:setup-context7-mcp

mcp:setup-context7-mcp

github.com/neolabhqDevelopment1.8k405 installsUpdated 9w ago
Repository

About mcp:setup-context7-mcp

A setup skill that configures Context7 MCP guidance in a selected CLAUDE.md file. It helps users choose project-shared, project-local, or global settings, then checks server availability and documents relevant library IDs.

Key features

  1. 01Choose shared, local, or global configuration
  2. 02Check whether Context7 MCP is available
  3. 03Find documentation for project technologies
  4. 04Update the selected CLAUDE.md file

Use cases

  1. 01Set up Context7 guidance for a team project
  2. 02Keep Context7 preferences local to a project
  3. 03Apply Context7 instructions across projects

MCP support

The skill checks access to Context7 MCP and uses it to find documentation for relevant technologies. If unavailable, it guides the user through setup.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/neolabhq/context-engineering-kit --skill mcp:setup-context7-mcp

After installing, type/mcp:setup-context7-mcpin Claude Code to confirm it loaded.

Details

From the project README

User Input:

$ARGUMENTS

Guide for setup Context7 MCP server

1. Determine setup context

Ask the user where they want to store the configuration:

Options:

  1. Project level (shared via git) - Configuration tracked in version control, shared with team

    • CLAUDE.md updates go to: ./CLAUDE.md
  2. Project level (personal preferences) - Configuration stays local, not tracked in git

    • CLAUDE.md updates go to: ./CLAUDE.local.md
    • Verify these files are listed in .gitignore, add them if not
  3. User level (global) - Configuration applies to all projects for this user

    • CLAUDE.md updates go to: ~/.claude/CLAUDE.md

Store the user's choice and use the appropriate paths in subsequent steps.

2. Check if Context7 MCP server is already setup

Check whether you have access to Context7 MCP server by making request.

if no, load https://raw.githubusercontent.com/upstash/context7/refs/heads/master/README.md file and guide user through setup process that applicable to agent/operation system.

3. Update CLAUDE.md file

Use the path determined in step 1:

  • Parse user input, if it empty read current project structure and used technologies, if project empty ask user to provide list of languages and frameworks that planned to be used in this project.
  • Search through context7 MCP for relevant technologies documentation
  • Update the appropriate CLAUDE.md file with following content:
### Use Context7 MCP for Loading Documentation

Context7 MCP is available to fetch up-to-date documentation with code examples.

**Recommended library IDs**:

- `[doc-id]` - short description of documentation

Comments

Markdown supported