I built a CLI that tells you which MCP servers your repo actually needs A developer released stackhint, an open-source, dependency-free CLI that scans a repository's manifests, compose files, CI configs and README links to recommend which MCP servers, plugins, skills and CLIs a project actually needs, explaining each suggestion with file-level evidence. The tool reads existing Claude Code and Codex configurations to avoid duplicate integrations, flags archived or deprecated servers such as the retired @modelcontextprotocol/server-postgres, and previews config diffs with backup, atomic writes and byte-for-byte rollback before installing anything. The author says the hardest work was manually verifying 68 catalog entries, including endpoint and read-only flag changes, and notes the fit scores are stated estimates that `stackhint explain` breaks down. Every week someone posts another "top 10 MCP servers for Claude Code" list. I kept installing things from those lists, forgetting what I had, and once I noticed a project of mine was still running @modelcontextprotocol/server-postgres . That server was archived in May 2025, and Datadog showed its read-only mode can be bypassed with COMMIT; ... . Nobody is going to fix it. So I wrote stackhint https://github.com/Protemir/stackhint . It looks at a repository, checks what is already configured in Claude Code and Codex, and suggests the MCP servers, plugins, skills and CLIs that fit. It explains why each one fits, and it can add a server to your config after showing you the exact change. It runs locally, has no dependencies and sends nothing anywhere. bash $ npx -y github:Protemir/stackhint recommend --task "orders query is slow" Detected: PostgreSQL, C , .NET, Redis, GitHub Actions, Docker, EF Core, Jira, OpenAPI, GitHub 1. Recommendation: Postgres MCP Pro fit 67/100, confidence high Why now: Service image postgres:17 docker-compose.yml ; your task mentions "query"; 9 database migrations. Permissions: stackhint uses --access-mode=restricted read-only transactions . Actions: - stackhint install postgres-mcp-pro --host claude - shows the exact change and asks before writing - stackhint try postgres-mcp-pro --host claude - one session without installing - stackhint dismiss postgres-mcp-pro --for 14d - remind me later 2. Recommendation: Microsoft Learn MCP Server fit 58/100, confidence high Why now: Solution file DotnetShop.sln ; ASP.NET Core web SDK. 3. Recommendation: Atlassian Rovo MCP Server fit 52/100, confidence high Why now: Links to acme-demo.atlassian.net Jira README.md . Every line in "Why now" points at a file. If your README only says "we might try Kubernetes one day", you get no Kubernetes suggestion. It needs a manifest, a compose image, a dependency or a link. The analyzer reads the files that usually give a stack away: .csproj , package.json , pyproject.toml , go.mod , compose files, Kubernetes and Terraform files, CI configs, .http files, the key names in .env.example , and links in the README. It also reads git remotes and recent commit subjects. Issue keys like SHOP-123 hint at Jira, and twelve "add migration" commits hint that a project skill would help. It never opens .env , private keys or secret settings files. Then it reads your setup: ~/.claude.json , .mcp.json , enabled Claude Code plugins and the servers they bundle, ~/.codex/config.toml , Codex plugins, skills. If you already have GitHub's MCP server, or gh on your PATH, it won't push another GitHub integration on you. The ranking is a plain formula: relevance from the evidence, times value, minus setup cost and risk. The numbers are my estimates, and the tool says so in its output. stackhint explain