MCP Context Master
Automatically analyzes project dependencies to discover and download the most relevant documentation, enabling developers to quickly set up comprehensive project context.
README
MCP Context Master
An intelligent Model Context Protocol (MCP) server that revolutionizes project bootstrapping by automatically discovering and downloading the most relevant contextual documentation for your development projects.
Overview
Context Master transforms how developers start new projects by providing intelligent context gathering through:
- Smart Project Analysis - Automatically analyzes your project dependencies
- Intelligent Priority System - Advanced scoring to recommend only the most valuable documentation
- Automated Documentation - Downloads comprehensive project context as organized markdown files
- Project Intelligence - Understands your tech stack and suggests the best resources
Key Features
- 🧠 Intelligent Analysis: Automatically analyzes package.json, requirements.txt, and project structure
- 🎯 Smart Prioritization: Advanced scoring system that identifies which libraries truly need documentation
- 🔍 Enhanced GitHub Search: Multi-criteria search with relevance scoring and health indicators
- 📥 Automated Downloads: Bulk download of prioritized documentation with smart naming
- 📊 Project Intelligence: Understands your tech stack and provides tailored recommendations
- 🚀 One-Command Setup: Complete project context setup with a single
setup_project_contextcall
Structure
- Context Files: Downloaded
.mdfiles containing comprehensive project documentation - Project Documentation: Additional documentation for understanding your project dependencies
Installation
Quick Start
# Clone the repository
git clone https://github.com/onigetoc/mcp-context-master.git
cd mcp-context-master
# Install dependencies
npm install
# Build the project
npm run build
Environment Setup
Create a .env file with your GitHub token:
GITHUB_TOKEN=ghp_your_token_here
Get your GitHub token from: https://github.com/settings/tokens
Configuration
MCP Client Configuration
Add to your MCP client configuration:
For Kiro IDE (.kiro/settings/mcp.json):
{
"mcpServers": {
"mcp-context-master": {
"command": "node",
"args": [
"C:\\path\\to\\mcp-context-master\\build\\index.js"
],
"env": {
"GITHUB_TOKEN": "your_github_token_here"
}
}
}
}
For Claude Desktop:
{
"mcpServers": {
"mcp-context-master": {
"command": "node",
"args": ["/path/to/mcp-context-master/build/index.js"],
"env": {
"GITHUB_TOKEN": "your_github_token_here"
}
}
}
}
Available Tools
1. setup_project_context ⭐ Main Tool
Initialize and setup Context Master for a project. Analyzes your project dependencies and downloads documentation for important libraries.
2. add_project_context
Fetch and download context for a single library and add it to the project.
3. list_available_contexts
List all available context files in your project.
4. read_specific_context
Read the content of a specific context file.
5. read_template
Read a Context Master template file from your project.
6. search_github
Search GitHub repositories for project context.
7. coding_assistant
Detect your current coding assistant and determine the appropriate context to use.
Usage Examples
Initialize a New Project
To set up Context Master for your project:
User: "Initialize context master for my project"
Tool: setup_project_context will analyze your package.json/requirements.txt and download relevant documentation
Add Context for a Specific Library
To add documentation for a library:
User: "Add project context for remotion"
Tool: add_project_context will search and download remotion documentation
List Downloaded Context
To see what documentation you have:
User: "List available contexts"
Tool: list_available_contexts will show all downloaded context files
View Documentation
To read a specific context file:
User: "Read the react context"
Tool: read_specific_context will display the documentation
Requirements
- Node.js 18+
- GitHub token (for repository search)
- Internet connection (for documentation downloads)
- MCP client (Claude Desktop, VSCode, Kiro, etc.)
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.