
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A TypeScript MCP server and CLI that indexes dependency documentation so AI assistants can search it semantically when answering questions about a codebase's libraries.
MCP server for searching project dependency documentation is cataloged as an MCP server attributed to dsinghbailey. A TypeScript MCP server and CLI that indexes dependency documentation so AI assistants can search it semantically when answering questions about a codebase's libraries. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License with Commons Clause. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for searching project dependency documentation are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It uses a custom dependency-context.json file when present and otherwise falls back to scanning package.json or requirements.txt. Note that the MCP tool documentation refers to a custom dependencies.json file.
The most relevant documentation chunks for the query, along with repository and file path source information and similarity scores for each result.
Yes, a CLI download mode lets you fetch and browse dependency documentation as markdown files without a vector database.
README.md · 4d7d840e3272 · 采集于 2026-11-13 10:51:52 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
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.
The recommended way to specify which dependencies you want to index is by creating a custom dependency-context.json file in your project root. This allows you to:
Create a dependency-context.json file in your project root with the following format:
{
"express": "^4.17.1",
"axios": "1.0.0"
}
If a dependency-context.json file is not present, Dependency Context falls back to scanning package.json or requirements.txt.
{
"mcpServers": {
"dependency-context": {
"command": "npx",
"args": ["-y", "--package=dependency-context", "dependency-context"],
"env": {
"GITHUB_TOKEN": "YOUR_GITHUB_TOKEN_HERE", // Optional but recommended
"MODEL_NAME": "Xenova/all-MiniLM-L6-v2", // Optional, default shown
"DEBUG": "false", // Optional, default shown
"MIN_CHUNK_SIZE": "800", // Optional, default shown
"MAX_CHUNK_SIZE": "8000", // Optional, default shown
"CHUNKS_RETURNED": "5" // Optional, default shown
}
}
}
}
Enable the MCP in your editor
Prompt the AI to initialialize dependency-context. Make sure you are in "Agent" mode.
Can you initialize dependency-context?
If you prefer to just download and browse the dependency documentation without vector search:
npm install -g dependency-context
# From your project directory
dependency-context download
# Or specify a different project path
dependency-context download /path/to/your/project
dependency-context folder in your project:# Explore the documentation
cd dependency-context
ls
Each dependency will have its own folder containing all the markdown documentation from its repository.
Dependency Context provides two main tools through its MCP interface:
Analyzes a project's dependencies and creates a searchable index of their documentation.
{
"capability": "InitializeDependencyIndex",
"parameters": {
"project_path": "/path/to/your/project",
"env_vars": {
"GITHUB_TOKEN": "your_github_token", // Optional but recommended
"MODEL_NAME": "Xenova/all-MiniLM-L6-v2", // Optional, default shown
"DEBUG": "true", // Optional
"MIN_CHUNK_SIZE": "800", // Optional, default shown
"MAX_CHUNK_SIZE": "8000" // Optional, default shown
}
}
}
This capability:
dependencies.json file (recommended)Performs semantic search over indexed dependency documentation.
{
"capability": "searchDependencyDocs",
"parameters": {
"project_path": "/path/to/your/project",
"query": "How do I handle authentication?",
"repository_context": "express", // Optional: limit to a specific dependency
"env_vars": {
"MODEL_NAME": "Xenova/all-MiniLM-L6-v2",
"CHUNKS_RETURNED": "5" // Optional, default shown
}
}
}
Returns:
Dependency Context is built with a modular TypeScript architecture:
Core Components:
Key Libraries:
Run the test suite with:
npm test
For manual testing, follow these steps:
mkdir test-project
cd test-project
# Create a custom dependencies.json file (recommended approach)
echo '{
"dependencies": {
"express": "^4.17.1",
"axios": "^1.0.0"
}
}' > dependencies.json
# Alternatively, you can use standard dependency files:
# For Node.js projects
echo '{
"dependencies": {
"express": "^4.17.1",
"axios": "^1.0.0"
}
}' > package.json
# For Python projects
echo 'requests==2.26.0
numpy>=1.20.0' > requirements.txt
# Build and make the CLI executable
cd /path/to/dependency-context
npx fastmcp dev src/index.ts
# Initialize and index dependencies (from your test project directory)
tool(InitializeDependencyIndex)
# Search for information in the indexed dependencies
tool(searchDependencyDocs)
## Troubleshooting
### GitHub API Rate Limits
If you encounter "API rate limit exceeded" errors:
1. Create a GitHub personal access token at https://github.com/settings/tokens
2. Set it as the `GITHUB_TOKEN` environment variable:
```bash
export GITHUB_TOKEN=your_token_here
Or add it to your .env file:
# Optional but recommended for higher API rate limits
GITHUB_TOKEN=your_token_here
# Optional settings with defaults shown below
MIN_CHUNK_SIZE=800
MAX_CHUNK_SIZE=8000
CHUNKS_RETURNED=5
If your searches return empty results:
If you encounter permission errors when accessing project directories:
# Clone the repository
git clone https://github.com/yourusername/dependency-context.git
# Install dependencies
cd dependency-context
npm install
# Run MCP server locally with fastmcp dev
npx fastmcp dev src/index.ts
# Test CLI download command
node src/index.js download ./test-project
Dependency Context is licensed under the MIT License with Commons Clause. This means you can:
✅ Allowed:
❌ Not Allowed:
See the LICENSE file for the complete license text and licensing details for more information.
Copyright © 2024 DarianB
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for searching project dependency documentation from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/dependency-context)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.