Python Dependency Manager Companion
Allows running the MCP server in a containerized environment, with instructions for pulling and running the Docker image.
Enables forking the project repository and creating new projects from the template, with support for contributing back to the main project.
Planned future integration for PDM Python package manager according to the roadmap, to provide official documentation and command references.
Provides access to official documentation and commands for Python dependency management with Poetry, helping users with package installation, environment management, and project configuration.
Provides comprehensive dependency management tools for Python projects, offering accurate and up-to-date commands for various Python package managers.
Links to a demonstration video showcasing the MCP server's capabilities for Python dependency management.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Python Dependency Manager Companion how do I install a specific version of pandas with pip?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
β οΈ [Archived] β οΈ Python Dependency Manager Companion MCP Server
Stop getting out-of-date Python package manager commands from your AI. Cross-reference latest official pip, conda, poetry, uv, pixi, and pdm docs with auto-updates. [Watch Demo on YouTube]
π Quick Start for Agentic IDEs
1. Pull Docker image:
# Pin to commit hash for production security
# Get current hash from: https://hub.docker.com/r/keminghe/py-dep-man-companion/tags
docker pull keminghe/py-dep-man-companion@sha256:2c896dc617e8cd3b1a1956580322b0f0c80d5b6dfd09743d90859d2ef2b71ec6 # 2025-07-22 release example
# Or use latest for development
docker pull keminghe/py-dep-man-companion:latest2. Add to your IDE's mcp.json:
{
"mcp": {
"servers": {
"python-deps": {
"command": "docker",
"args": ["run", "-i", "--rm", "keminghe/py-dep-man-companion"]
}
}
}
}3. Ask package manager questions - "How to migrate a conda project to uv?" and get accurate, current official syntax.
Related MCP server: Software Management MCP Server
π€ Contributing
Use as template: [Create from template] for your own MCP server projects.
Contribute back: Fork and follow CONTRIBUTING.md for development setup.
π Auto-Update Architecture
β° Every Tuesday 6pm ET
π Sync Official Docs
π Rebuild Search Index
π³ Publish Latest Image
πΊοΈ Roadmap
Added support for
pixiandpdmin version 0.1.1Add comprehensive tests with 100% coverage
Add indexing support for PDF and CSV files
π Project Structure
python-dependency-manager-companion-mcp-server/
βββ .github/workflows/ # Automation workflows
β βββ auto-update-docs.yml # Weekly docs update
β βββ auto-update-index.yml # Search index rebuild
β βββ auto-update-publish.yml # Multi-arch Docker publish
β βββ auto-update.yml # Combined automation
β βββ README.md # Workflow documentation
βββ src/
β βββ assets/ # Documentation source files
β β βββ conda/ # conda docs
β β βββ pip/ # pip docs
β β βββ poetry/ # poetry docs
β β βββ uv/ # uv docs
β β βββ pixi/ # pixi docs
β β βββ pdm/ # pdm docs
β βββ index/ # Pre-built search index
β βββ build_index.py # Tantivy index builder
β βββ mcp_server.py # FastMCP stdio server
βββ Dockerfile # Container build configuration
βββ pyproject.toml # Project dependencies and metadata
βββ uv.lock # Locked dependenciesπ License
This project is licensed under the MIT License - a permissive license that allows free use, modification, and distribution with attribution.
π Support
Open a GitHub issue for bug reports and feature requests.
Available Tools
1 toolsearch_py_dep_man_docsB
Find comprehensive answers from latest official Python dependency manager documentation.
π― CORE VALUE: Access to authoritative, up-to-date official docs that general knowledge can't provide.
β‘ EXECUTION STRATEGY (85%+ first-call success):
MANDATORY: Multi-call progress report format:
### π [Topic] Research - Progress Report [X] - β **Gathered**: [key findings] - π **Next**: [specific gap] - π― **Goal**: [deliverable]WHY: Users lose confidence without progress visibility; structured updates prevent confusion
WHEN: Use progress report format for ANY multi-step research (migration guides, comparisons, complex tutorials)
ENFORCEMENT: Show progress header AFTER EVERY INDIVIDUAL TOOL CALL, not just at final response (why: continuous user confidence)
TIMING: Tool call 1 β Progress Report 1 β Tool call 2 β Progress Report 2 β etc. β Final Answer (why: step-by-step transparency)
PATTERNS: Start with proven query patterns below for maximum hit rate
π― PROVEN QUERY PATTERNS (use these exact phrases for maximum results):
Learning: "project setup tutorial", "workflow guide", "dependency management guide" (why: comprehensive coverage)
Commands: "command reference", "syntax comparison", "installation commands" (why: precise syntax)
Comparing: "tool A vs tool B", "migration guide", "feature comparison" (why: structured analysis)
Troubleshooting: "troubleshooting guide", "common errors", "best practices" (why: solution-focused)
π§ RESPONSE OPTIMIZATION RULES:
Specific question β focused query + top_n 3-5 + bullet format + show progress (why: targeted precision)
Broad/ambiguous β comprehensive query + top_n 7-10 + ranked list + track gaps (why: exploration needed)
Tool comparison β "X vs Y" + no filter + top_n 7-10 + scoring table + cite sources (why: comprehensive coverage)
Command help β expand terms + top_n 5-7 + code examples + update progress (why: actionable guidance)
π CITATION REQUIREMENTS (builds user confidence):
MANDATORY: Cite for commands, claims, comparisons, best practices, migration steps, troubleshooting advice (why: user confidence)
DENSITY: 1 citation per major section, 2-3 for complex guides/tutorials (why: consistent coverage)
FORMAT: "According to the official X guide" or "Command reference shows" (why: developer-friendly)
PLACEMENT: Immediately after stating command syntax, making performance claims, or giving advice (why: contextual validation)
PROGRESS INTEGRATION: Include citations naturally within progress updates to show source validation (why: transparency)
π¨ CRITICAL: Ground ALL responses in search results with citations (why: this tool's unique value over general knowledge).
Inputs: query (required), package_filter, top_n. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The tool has a single, clearly defined purpose: searching Python dependency manager documentation. No other tools exist to cause ambiguity.
The single tool name 'search_py_dep_man_docs' follows a clear verb_noun pattern (search + py_dep_man_docs). Since there is only one tool, consistency is inherently perfect with no deviations or mixed conventions to evaluate.
One tool is too few for a server named 'Python Dependency Manager Companion,' which suggests a broader scope like managing dependencies, not just searching docs. A single search tool feels thin and incomplete for the implied domain, lacking operations like installing, updating, or listing dependencies.
The tool surface is severely incomplete for the server's purpose. While the search tool is well-described, there are significant gaps: no tools for actual dependency management tasks (e.g., install, update, remove, list dependencies), version checking, or environment management. This will cause agent failures when trying to perform core dependency management workflows.
Maintenance
Related MCP Connectors
Real-time Python package and vulnerability data for AI coding agents.
@latest documentation and code examples to 9000+ libraries for LLMs and AI code editors in a singlβ¦
Package intelligence for AI agents across npm, PyPI, crates.io and deps.dev. No API keys.
Package intelligence for AI agents across npm, PyPI, crates.io and deps.dev. No API keys.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides LLMs with real-time access to up-to-date documentation from PyPI, npm, crates.io, GoDocs, DockerHub, GitHub, and GCP, preventing outdated code generation and API hallucinations.2756 PyPI14MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to automate local software management workflows including installation, uninstallation, updates, and environment recommendations. It provides a standardized, non-interactive interface for managing system applications and tracking software versions safely.-
- AlicenseNot gradedqualityDmaintenanceProvides real-time access to Python package documentation, source code, and symbol search to prevent AI hallucinations.271 PyPI7MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI-powered JavaScript package management including search, install, update, remove, and security auditing across npm, yarn, and pnpm.75 npm9MIT