{
  "markdown": "# mcp-server-npm-plus\n\n[![npm version](https://img.shields.io/npm/v/mcp-server-npm-plus.svg)](https://www.npmjs.com/package/mcp-server-npm-plus)\n[![npm downloads](https://img.shields.io/npm/dm/mcp-server-npm-plus.svg)](https://www.npmjs.com/package/mcp-server-npm-plus)\n[![CI](https://github.com/ofershap/mcp-server-npm-plus/actions/workflows/ci.yml/badge.svg)](https://github.com/ofershap/mcp-server-npm-plus/actions/workflows/ci.yml)\n[![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue.svg)](https://www.typescriptlang.org/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nnpm package research from your AI assistant. Search packages, check bundle sizes, scan for vulnerabilities, compare download counts, and inspect dependency trees. No API keys needed.\n\n```bash\nnpx mcp-server-npm-plus\n```\n\n> Works with Claude Desktop, Cursor, VS Code Copilot, and any MCP client. Uses public npm registry APIs.\n\n![MCP server for npm package search, bundle size, and vulnerability scanning](assets/demo.gif)\n\n<sub>Demo built with <a href=\"https://github.com/ofershap/remotion-readme-kit\">remotion-readme-kit</a></sub>\n\n## Why\n\nChoosing between npm packages usually means opening a bunch of browser tabs: npm for package info, Bundlephobia for size, Snyk for vulnerabilities, npm trends for download comparisons. This server puts all of that in one place, accessible through your AI assistant. Ask \"compare zustand vs jotai vs valtio\" and get download numbers, bundle sizes, and dependency counts side by side. Ask \"are there any known vulnerabilities in express?\" and get the answer without leaving your editor. It uses only public npm APIs, so there's nothing to sign up for.\n\n## Tools\n\n| Tool                | Description                                                 |\n| ------------------- | ----------------------------------------------------------- |\n| `search`            | Search npm packages by query                                |\n| `package_info`      | Get detailed info: description, license, repo, dependencies |\n| `downloads`         | Get download stats for a package                            |\n| `compare_downloads` | Compare download counts across multiple packages            |\n| `bundle_size`       | Get bundle size (minified + gzip) via Bundlephobia          |\n| `vulnerabilities`   | Get vulnerability info and advisory links                   |\n| `dependency_tree`   | Show direct dependencies as a tree                          |\n| `download_trends`   | Daily breakdown with sparkline                              |\n\n## Quick Start\n\n### Cursor\n\nAdd to `.cursor/mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"npm-plus\": {\n      \"command\": \"npx\",\n      \"args\": [\"mcp-server-npm-plus\"]\n    }\n  }\n}\n```\n\n### Claude Desktop\n\nAdd to `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"npm-plus\": {\n      \"command\": \"npx\",\n      \"args\": [\"mcp-server-npm-plus\"]\n    }\n  }\n}\n```\n\n### VS Code\n\nUse the MCP extension and configure the server with `npx mcp-server-npm-plus`.\n\n## Example Prompts\n\n- \"Search npm for React state management libraries\"\n- \"What's the bundle size of lodash?\"\n- \"Compare downloads of zustand vs jotai vs valtio\"\n- \"Check for vulnerabilities in express\"\n- \"Show me the dependency tree for next\"\n- \"What are the download trends for typescript this month?\"\n\n## Development\n\n```bash\nnpm install\nnpm run typecheck\nnpm run build\nnpm test\nnpm run lint\nnpm run format\n```\n\n## See also\n\nMore MCP servers and developer tools on my [portfolio](https://gitshow.dev/ofershap).\n\n## Author\n\n[![Made by ofershap](https://gitshow.dev/api/card/ofershap)](https://gitshow.dev/ofershap)\n\n[![LinkedIn](https://img.shields.io/badge/LinkedIn-Connect-0A66C2?style=flat&logo=linkedin&logoColor=white)](https://linkedin.com/in/ofershap)\n[![GitHub](https://img.shields.io/badge/GitHub-Follow-181717?style=flat&logo=github&logoColor=white)](https://github.com/ofershap)\n\n---\n\n<sub>README built with [README Builder](https://ofershap.github.io/readme-builder/)</sub>\n\n## License\n\nMIT © 2026 Ofer Shapira\n",
  "bytes": 4096,
  "sha": "7c0c4a193d32dde3f4af9f9be33d60a6acf6b73b3313da72c3599c124e4301da",
  "repo_slug": "ofershap/mcp-server-npm-plus",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_ofershap_npm_plus_5f450b63/readme"
}