Skip to main content
Glama
KemingHe

Python Dependency Manager Companion

by KemingHe

โš ๏ธ [Archived] โš ๏ธ Python Dependency Manager Companion MCP Server

WARNING

This repository is archived and no longer maintained.

  • Archived: 2026-02-15 by @KemingHe

  • Archive Reason: Use case too niche + better alternatives i.e. Context7 available

  • Inquries and Corrections: Email keminghe[dot]career[at]gmail[dot]com

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:latest

2. 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: Package README Core 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

  1. โฐ Every Tuesday 6pm ET

  2. ๐Ÿ“š Sync Official Docs

  3. ๐Ÿ” Rebuild Search Index

  4. ๐Ÿณ Publish Latest Image

๐Ÿ—บ๏ธ Roadmap

  • Added support for pixi and pdm in version 0.1.1

  • Add 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 tool
search_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).

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesSearch intent: 'workflow tutorial', 'command reference', 'best practices', 'troubleshooting', or 'comparison'
package_filterNoFocus on specific tool when comparing or learning tool-specific workflows
top_nNoNumber of top results to return - use more (7-10) for broad/ambiguous requests, fewer (3-5) for specific questions

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden but fails to disclose critical behavioral traits such as the return format (excerpts, full pages, or summaries?), whether results areๅฎžๆ—ถ or cached, rate limits, or authentication requirements. Instead, it focuses heavily on response formatting instructions (progress reports, citations) that describe how the AI should present results to users rather than how the tool itself behaves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness1/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is severely bloated with meta-commentary ('why: user confidence'), emoji-laden headers, and extensive instructions about how the AI should format its final response to the user (progress report formats, citation placement). This content belongs in system prompts or tool-calling guidelines, not the tool description. Every sentence does not earn its place; much is redundant with the AI's general instruction set.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the existence of an output schema (not shown but indicated in context signals) and 100% input schema coverage, the description adequately covers the tool's scope. It identifies the authoritative source (official docs) and citation requirements. However, it lacks clarity on the output structure despite the output schema existing, relying instead on formatting instructions that assume specific return types without describing them.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage, the baseline is 3. The description adds significant value through the 'PROVEN QUERY PATTERNS' section, providing specific example strings for the query parameter (e.g., 'project setup tutorial', 'command reference'), and explaining the semantic rationale for top_n values in different contexts (targeted precision vs. exploration). This goes beyond the schema's basic type information.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence clearly states the tool 'Find[s] comprehensive answers from latest official Python dependency manager documentation,' identifying the specific resource (Python dependency manager docs) and action (find answers). The 'CORE VALUE' section further distinguishes it from general knowledge. However, the purpose is somewhat obscured by the extensive procedural instructions that follow.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Extensive guidance is provided on when to use specific query patterns ('workflow tutorial' for learning, 'X vs Y' for comparisons, etc.) and when to adjust top_n (3-5 for specific questions, 7-10 for broad requests). While there are no sibling tools to differentiate from, the description effectively maps user intents to specific parameter configurations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 1 tool updatev0.1.1
    • First observedsearch_py_dep_man_docs

TDQS

B3.3/5.0
Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count2/5

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.

Completeness2/5

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

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Intelligently detects package managers and provides unified access to documentation and information across 15+ package ecosystems including npm, PyPI, and others. Automatically routes requests to appropriate package-specific MCP servers for README retrieval, package information, and cross-ecosystem package search.
    14
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables 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.
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides real-time access to Python package documentation, source code, and symbol search to prevent AI hallucinations.
    6
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/KemingHe/python-dependency-manager-companion-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server