Dependency Context
@Dsinghbailey
关于 Dependency Context
An MCP server that provides AI assistants with contextual access to your project's dependency documentation, enabling more accurate responses about libraries and frameworks used in your codebase.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"dependency-context": {
"command": "npx",
"args": [
"-y",
"--package=dependency-context",
"dependency-context"
],
"env": {
"GITHUB_TOKEN": "YOUR_GITHUB_TOKEN_HERE",
"MODEL_NAME": "Xenova/all-MiniLM-L6-v2",
"DEBUG": "false",
"MIN_CHUNK_SIZE": "800",
"MAX_CHUNK_SIZE": "8000",
"CHUNKS_RETURNED": "5"
}
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Dependency Context?
An MCP server and command line tool that provides AI assistants with contextual access to your project's dependency documentation, enabling more accurate responses about libraries and frameworks used in your codebase.
How to use Dependency Context?
Configure by creating a dependency-context.json file in your project root listing the dependencies to index. If none is present, it falls back to scanning package.json or requirements.txt. Add the MCP config to your editor (Cursor recommended), then prompt the AI to initialize dependency-context. A CLI mode is also available via npx or global install for direct documentation download.
Key features of Dependency Context
- Indexes dependency documentation from GitHub repositories
- Provides semantic search over indexed documentation
- Supports custom dependency configuration via
dependency-context.json - Falls back to
package.jsonorrequirements.txtautomatically - Includes both MCP tools and a standalone CLI mode
- Uses local vector embeddings for offline search
Use cases of Dependency Context
- Ask an AI assistant how to use a specific function in an installed library
- Search across multiple dependency docs for authentication patterns
- Quickly download raw documentation for offline browsing
- Get accurate, context-aware answers about your project's dependencies
FAQ from Dependency Context
How does Dependency Context discover my project's dependencies?
It first looks for a custom dependency-context.json file in the project root. If not present, it falls back to scanning package.json (Node.js) or requirements.txt (Python).
What do I need to run Dependency Context?
Node.js and npm are required. A GitHub personal access token is optional but recommended to avoid API rate limits. No external database or cloud service is needed—vector embeddings run locally.
Where is the indexed documentation stored?
Documentation is cloned into a dependency-context folder within your project directory. Each dependency gets its own folder containing Markdown documentation from its repository.
What happens if my search returns empty results?
Check that the indexing process completed without errors, verify your query is relevant to the indexed dependencies, and try a more general query first.
Does Dependency Context require a GitHub token?
No, but it is recommended. Without it, you may encounter "API rate limit exceeded" errors when cloning repositories. Set it as the GITHUB_TOKEN environment variable.
其他 分类下的更多 MCP 服务器
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.

Peekaboo MCP – lightning-fast macOS screenshots for AI agents
steipetePeekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
评论