Feedback

Dependency Context MCP Server

@dsinghbailey Claim

Basic information

Runtime
node
Category
License
NOASSERTION
Transports
stdio
Author
dsinghbailey
Submitted by
Community
Quality
40
Stars
2

About Dependency Context MCP Server

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.

Dependency Context is a MCP server in the Other category listed in the AddMCP.net directory, published by Dsinghbailey. Supported transport: stdio. Runtime: node. The repository has 2 GitHub stars. Source code is hosted on github.com.

Setup

{
    "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"
            }
        }
    }
}

Dependency Context MCP Server config

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"
            }
        }
    }
}

Dependency Context MCP Server tools

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.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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.json or requirements.txt automatically
  • 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

Frequently asked questions

1 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).

2 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.

3 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.

4 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.

5 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.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬