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).
@Dsinghbailey
Basic information
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.
Add this server to your MCP-compatible client using the configuration below.
{
"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"
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
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.
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.
dependency-context.jsonpackage.json or requirements.txt automaticallyIt 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).
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.
Documentation is cloned into a `dependency-context` folder within your project directory. Each dependency gets its own folder containing Markdown documentation from its repository.
Check that the indexing process completed without errors, verify your query is relevant to the indexed dependencies, and try a more general query first.
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.
🚀 The fast, Pythonic way to build MCP servers and clients.

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Painless E2E Automation for Mobile and Web
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
Comments