{
  "markdown": "# MCP Server npm — Search, Compare & Inspect Packages from AI\n\n[![npm version](https://img.shields.io/npm/v/mcp-server-npm.svg)](https://www.npmjs.com/package/mcp-server-npm)\n[![npm downloads](https://img.shields.io/npm/dm/mcp-server-npm.svg)](https://www.npmjs.com/package/mcp-server-npm)\n[![CI](https://github.com/ofershap/mcp-server-npm/actions/workflows/ci.yml/badge.svg)](https://github.com/ofershap/mcp-server-npm/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nAn MCP server that lets your AI assistant search npm, compare packages, check download stats, and inspect dependencies. No API keys needed.\n\n```\nYou: \"Compare react vs preact — size, downloads, and dependencies\"\nAI:  react: 45.5kb min, 25M weekly downloads, 3 deps\n     preact: 4.2kb min, 3.8M weekly downloads, 0 deps\n```\n\n> Works with Claude Desktop, Cursor, and VS Code Copilot.\n\n![MCP server npm demo — comparing react vs preact from Claude Desktop](assets/demo.gif)\n\n## Tools\n\n| Tool            | What it does                                                    |\n| --------------- | --------------------------------------------------------------- |\n| `npm_search`    | Search npm packages by keyword                                  |\n| `npm_info`      | Get detailed package info (version, license, deps, maintainers) |\n| `npm_downloads` | Get download statistics (daily, weekly, monthly, yearly)        |\n| `npm_versions`  | List recent versions of a package                               |\n| `npm_compare`   | Compare two packages side by side                               |\n| `npm_deps`      | List all dependencies of a package                              |\n\n## Quick Start\n\n### With Claude Desktop\n\nAdd to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"npm\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mcp-server-npm\"]\n    }\n  }\n}\n```\n\n### With Cursor\n\nAdd to your `.cursor/mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"npm\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mcp-server-npm\"]\n    }\n  }\n}\n```\n\n## Examples\n\nAsk your AI assistant:\n\n- \"Search npm for state management libraries\"\n- \"Show me info about the express package\"\n- \"Compare react vs preact\"\n- \"How many downloads does zod get per month?\"\n- \"What are the dependencies of next?\"\n- \"List recent versions of typescript\"\n\n## Development\n\n```bash\nnpm install\nnpm test\nnpm run build\n```\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\n[MIT](LICENSE) &copy; [Ofer Shapira](https://github.com/ofershap)\n",
  "bytes": 2998,
  "sha": "e55ca48693da1f3cb2c82592b5bdc3c38d2d055188924f2f5b2c3ca47eafe197",
  "repo_slug": "ofershap/mcp-server-npm",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_ofershap_npm_search_20f171ef/readme"
}