pkg-intel-mcp
Package intelligence for AI coding agents that checks npm and PyPI package health, deprecation, vulnerabilities, bundle size, and compares alternatives.
README
pkg-intel-mcp
Package intelligence for AI coding agents. An MCP server that answers: is this npm package safe to recommend?
<!-- TODO: Record a demo GIF of Claude using package_health and put it right here. This is the single highest-impact thing in the README. -->
AI coding agents constantly recommend outdated or deprecated packages — request, moment, tslint — because their training data is frozen in time. pkg-intel-mcp gives any MCP client (Claude Desktop, Claude Code, Cursor, Windsurf, ...) live tools to check package health before suggesting an install.
Tools
| Tool | What it answers | Registries |
|---|---|---|
package_health |
Is this package alive? Downloads, last publish, deprecation, license, and a healthy / caution / avoid verdict. | npm, PyPI |
compare_packages |
Which of these 2–5 alternatives should I pick? Side-by-side with a recommendation. | npm, PyPI |
bundle_size |
What does this cost my frontend bundle? Minified + gzip via bundlephobia. | npm |
deprecation_check |
Is this deprecated (npm) or yanked (PyPI), and what should I use instead? | npm, PyPI |
vulnerability_check |
Any known CVEs in this package/version, and which version fixes them? Via OSV.dev. | npm, PyPI |
All registry-aware tools take an optional registry parameter ("npm" default, or "pypi"). No API keys required — everything runs against public endpoints (npm registry, PyPI, pypistats, bundlephobia, OSV.dev) with a 15-minute in-memory cache.
Quick start
Claude Desktop
Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"pkg-intel": {
"command": "npx",
"args": ["-y", "pkg-intel-mcp"]
}
}
}
Restart Claude Desktop fully (quit from the menu bar), then ask: "Is request still okay to use? What should I use instead?"
Cursor
Same JSON shape in ~/.cursor/mcp.json — see examples/ for copy-paste configs, including local development setup.
Development
npm install
npm run dev # run with tsx
npm test # vitest, fully mocked, no network
npm run inspect # MCP Inspector against the built server
Rules of the road: never console.log (stdout is the JSON-RPC channel — use console.error), keep module: Node16 in tsconfig, and verify tools in the Inspector before blaming a client config. See CLAUDE.md for full conventions.
Remote / team use (HTTP transport)
stdio is the default and right for personal use. For a shared server:
pkg-intel-mcp --http 3000
# MCP endpoint: POST http://host:3000/mcp
# Liveness: GET http://host:3000/healthz
The HTTP mode is fully stateless — no sessions, no sticky routing — so it scales behind any plain load balancer.
Roadmap
- [x] v1: core tools, stdio, npm publish
- [x] v1.1:
vulnerability_checkvia OSV.dev (also key-free) - [x] v2: PyPI support, stateless Streamable HTTP transport
- [ ] v2.1: migrate to MCP SDK v2 / 2026-07-28 spec once stable
- [ ] Later: Rust crates.io support, SBOM audit tool
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.