The npm registry for AI agents
Automated package comparisons. Real-time scoring. 50+ categories. MCP server for Cursor & Claude.
Packages are scored automatically (0-100) based on:
| Factor | Weight | What it measures |
|---|---|---|
| Downloads | 20% | Weekly downloads + trend direction |
| Bundle Size | 20% | Smaller gzip = higher score |
| Freshness | 25% | Recent commits and releases |
| Community | 10% | Stars, contributors |
| Quality | 25% | TypeScript, ESM, security, tree-shaking |
packrun.dev/
├── apps/
│ ├── web/ # Next.js frontend
│ ├── sync/ # Data sync worker
│ └── mcp-server/ # MCP server for AI agents
├── packages/
│ ├── decisions/ # Scoring, categories, comparison engine
│ ├── agent-utils/ # Conflict detection
│ └── ui/ # Shared components
└── turbo.json
For AI coding assistants (Cursor, Claude, etc.):
Endpoint: https://mcp.packrun.dev/mcp
Configuration (for Cursor, Claude Desktop, etc.):
{
"mcpServers": {
"packrun": {
"url": "https://mcp.packrun.dev/mcp"
}
}
}
Tools:
| Tool | Description |
|---|---|
search_packages |
Search npm packages |
get_package |
Get package metadata |
get_package_health |
Check maintenance status |
compare_packages |
Compare packages with scoring |
find_alternatives |
Find alternatives to any package |
get_comparison_category |
Get category comparison (e.g., "date-library") |
list_comparison_categories |
List all 50+ categories |
validate_install |
Check compatibility before installing |
# Compare specific packages
GET /api/compare?packages=axios,got,ky
# Get category comparison
GET /api/compare?category=date-library
# Find alternatives for a package
GET /api/compare?package=moment
# List all categories
GET /api/compare?list=categories
{
"category": "date-library",
"recommendation": "date-fns",
"smallestBundle": "dayjs",
"mostPopular": "moment",
"packages": [
{
"name": "date-fns",
"score": 82,
"badges": ["TypeScript", "ESM", "Trending Up"],
"metrics": {
"weeklyDownloads": 20000000,
"downloadTrend": "growing",
"bundleSizeKb": "13.2kb",
"lastCommitDays": 2,
"hasTypes": true
}
},
...
]
}
50+ categories including:
git clone https://github.com/your-org/packrun.dev
cd packrun.dev
bun install
bun run dev:web # Web app on :3000
bun run dev:sync # Sync worker
# Typesense
TYPESENSE_HOST=xxx.typesense.net
TYPESENSE_PORT=443
TYPESENSE_PROTOCOL=https
TYPESENSE_API_KEY=xxx
# Optional: GitHub token for higher rate limits
GITHUB_TOKEN=xxx
MIT
$ claude mcp add packrun \
-- python -m otcore.mcp_server <graph>