{"_id":"@ecosyste-ms/mcp","_rev":"4-fe21958065fbd419dd79b8d91a284159","name":"@ecosyste-ms/mcp","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@ecosyste-ms/mcp","version":"1.0.0","keywords":["mcp","ecosystems","packages","dependencies"],"author":{"name":"ecosyste.ms"},"license":"MIT","_id":"@ecosyste-ms/mcp@1.0.0","maintainers":[{"name":"andrewnez","email":"andrewnez@gmail.com"}],"homepage":"https://github.com/ecosyste-ms/mcp#readme","bugs":{"url":"https://github.com/ecosyste-ms/mcp/issues"},"bin":{"ecosystems-mcp":"index.js"},"dist":{"shasum":"fce683fb793c21bf8358d9a89a7804d114fde5e0","tarball":"https://registry.npmjs.org/@ecosyste-ms/mcp/-/mcp-1.0.0.tgz","fileCount":10,"integrity":"sha512-8OljzRuy74eELZH7i54XW/R13JeLES/hCjQ1QsqcpZfIe46osnoGebx1C2kR/twCMj1a0Yhv+MUEgipBzy3HIw==","signatures":[{"sig":"MEUCICFJt0vUYuIa9CF7kr7J3W4nDxYv1qStL6z2tVfjJlRfAiEA5t4rOo/qTj5yD1zjrosjR90cub4RmlsAqrK4i7eWIz4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32418},"main":"index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"0b1380c858ef03e3e5859456b0e5fe1b0662ca40","scripts":{"test":"node --test","start":"node index.js"},"_npmUser":{"name":"andrewnez","email":"andrewnez@gmail.com"},"repository":{"url":"git+https://github.com/ecosyste-ms/mcp.git","type":"git"},"_npmVersion":"10.1.0","description":"MCP server for querying ecosyste.ms packages API","directories":{},"_nodeVersion":"20.9.0","dependencies":{"better-sqlite3":"^11.0.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp_1.0.0_1767188457966_0.43911223257551435","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@ecosyste-ms/mcp","version":"1.0.1","keywords":["mcp","ecosystems","packages","dependencies"],"author":{"name":"ecosyste.ms"},"license":"MIT","_id":"@ecosyste-ms/mcp@1.0.1","maintainers":[{"name":"andrewnez","email":"andrewnez@gmail.com"}],"homepage":"https://github.com/ecosyste-ms/mcp#readme","bugs":{"url":"https://github.com/ecosyste-ms/mcp/issues"},"bin":{"ecosystems-mcp":"index.js"},"dist":{"shasum":"4a954aa431b9364b625aafaf8cdd7217712a7d94","tarball":"https://registry.npmjs.org/@ecosyste-ms/mcp/-/mcp-1.0.1.tgz","fileCount":10,"integrity":"sha512-gqglOvEIWy4pab1sn1eonk+iJ5fM/EiEXi5FRuZcqxRJoaE3a6Wdzycd5MK0BWWXUT85BK4akB/AZTusyiPGBg==","signatures":[{"sig":"MEUCIDeJVGGi56gp29g3f3EC+9zTdYQmK6VUuPj57ilsb5Z9AiEA9x6U9ZYOjC6Y70JrnvYW6edvLnQglE/E0etBrjA7mYM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32420},"main":"index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"0b1380c858ef03e3e5859456b0e5fe1b0662ca40","scripts":{"test":"node --test","start":"node index.js"},"_npmUser":{"name":"andrewnez","email":"andrewnez@gmail.com"},"repository":{"url":"git+https://github.com/ecosyste-ms/mcp.git","type":"git"},"_npmVersion":"10.1.0","description":"MCP server for querying ecosyste.ms packages API","directories":{},"_nodeVersion":"20.9.0","dependencies":{"better-sqlite3":"^11.0.0","@ecosyste-ms/critical":"*","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp_1.0.1_1767189030660_0.04314256868453015","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@ecosyste-ms/mcp","version":"1.0.2","keywords":["mcp","ecosystems","packages","dependencies"],"author":{"name":"ecosyste.ms"},"license":"MIT","_id":"@ecosyste-ms/mcp@1.0.2","maintainers":[{"name":"andrewnez","email":"andrewnez@gmail.com"}],"homepage":"https://github.com/ecosyste-ms/mcp#readme","bugs":{"url":"https://github.com/ecosyste-ms/mcp/issues"},"bin":{"ecosystems-mcp":"index.js"},"dist":{"shasum":"b79087b3366034f771f7224aa03eb14a74fa4610","tarball":"https://registry.npmjs.org/@ecosyste-ms/mcp/-/mcp-1.0.2.tgz","fileCount":10,"integrity":"sha512-sh/hevfvPNxJqdN1VLhZooo7rKUjy9vaNgg5bTknFKL4qcKdcR+OfBSDsRf7BI0wwPEMM5Fv+awiH9Q4K5qLvw==","signatures":[{"sig":"MEYCIQD+1XEF5kRHDkOJwf07ddMeRRWm6fNNOYttu3YRVh4iCQIhAOnCVlTxuZi5/9QM/WjMUG44e92uDX626/15ycjgR/KG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32456},"main":"index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"cabd41325ae03a5240fbe42645860df030e597d3","scripts":{"test":"node --test","start":"node index.js"},"_npmUser":{"name":"andrewnez","email":"andrewnez@gmail.com"},"repository":{"url":"git+https://github.com/ecosyste-ms/mcp.git","type":"git"},"_npmVersion":"10.1.0","description":"MCP server for querying ecosyste.ms packages API","directories":{},"_nodeVersion":"20.9.0","dependencies":{"better-sqlite3":"^12.5.0","@ecosyste-ms/critical":"^1.0.20251231","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp_1.0.2_1767198638673_0.6696135289947769","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-12-31T13:40:57.846Z","modified":"2026-08-20T20:31:56.654Z","1.0.0":"2025-12-31T13:40:58.094Z","1.0.1":"2025-12-31T13:50:30.836Z","1.0.2":"2025-12-31T16:30:38.817Z"},"bugs":{"url":"https://github.com/ecosyste-ms/mcp/issues"},"author":{"name":"ecosyste.ms"},"license":"MIT","homepage":"https://github.com/ecosyste-ms/mcp#readme","keywords":["mcp","ecosystems","packages","dependencies"],"repository":{"url":"git+https://github.com/ecosyste-ms/mcp.git","type":"git"},"description":"MCP server for querying ecosyste.ms packages API","maintainers":[{"email":"mail@codeshark.net","name":"codeshark"},{"email":"andrewnez@gmail.com","name":"andrewnez"}],"readme":"# @ecosyste-ms/mcp\n\nMCP server for querying package ecosystem data from [ecosyste.ms](https://packages.ecosyste.ms/).\n\nQueries a local SQLite database of critical packages for fast lookups, with API fallback for packages not in the database.\n\n## Installation\n\n```bash\nnpm install -g @ecosyste-ms/mcp\n```\n\nOr run directly with npx:\n\n```bash\nnpx @ecosyste-ms/mcp\n```\n\nThe database is bundled via [@ecosyste-ms/critical](https://github.com/ecosyste-ms/critical). No additional setup required.\n\nTo use a custom database, set `ECOSYSTEMS_DB_PATH` or place `critical-packages.db` in your working directory.\n\n## Usage with LLM Tools\n\n<details>\n<summary>Claude Code</summary>\n\nOpen a terminal and run:\n\n```bash\nclaude mcp add ecosystems -- npx @ecosyste-ms/mcp\n```\n\nWith a custom database path:\n\n```bash\nclaude mcp add ecosystems -- env ECOSYSTEMS_DB_PATH=/path/to/db.sqlite npx @ecosyste-ms/mcp\n```\n\nFrom within Claude Code, use the `/mcp` command to verify the server is running.\n</details>\n\n<details>\n<summary>Claude Desktop</summary>\n\nAdd to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\\Claude\\claude_desktop_config.json` (Windows):\n\n```json\n{\n  \"mcpServers\": {\n    \"ecosystems\": {\n      \"command\": \"npx\",\n      \"args\": [\"@ecosyste-ms/mcp\"]\n    }\n  }\n}\n```\n\nWith custom database path:\n\n```json\n{\n  \"mcpServers\": {\n    \"ecosystems\": {\n      \"command\": \"npx\",\n      \"args\": [\"@ecosyste-ms/mcp\"],\n      \"env\": {\n        \"ECOSYSTEMS_DB_PATH\": \"/path/to/critical-packages.db\"\n      }\n    }\n  }\n}\n```\n</details>\n\n<details>\n<summary>Cursor</summary>\n\nAdd to `.cursor/mcp.json` in your project or `~/.cursor/mcp.json` globally:\n\n```json\n{\n  \"mcpServers\": {\n    \"ecosystems\": {\n      \"command\": \"npx\",\n      \"args\": [\"@ecosyste-ms/mcp\"]\n    }\n  }\n}\n```\n</details>\n\n<details>\n<summary>VS Code</summary>\n\nOpen a terminal and run:\n\n```bash\ncode --add-mcp '{\"type\":\"stdio\",\"name\":\"ecosystems\",\"command\":\"npx\",\"args\":[\"@ecosyste-ms/mcp\"]}'\n```\n\nOr manually add to `.vscode/mcp.json`:\n\n```json\n{\n  \"servers\": {\n    \"ecosystems\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\"@ecosyste-ms/mcp\"]\n    }\n  }\n}\n```\n\nThen open the `.vscode/mcp.json` file in VS Code and click \"Start server\".\n</details>\n\n<details>\n<summary>Windsurf</summary>\n\nAdd to `~/.codeium/windsurf/mcp_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"ecosystems\": {\n      \"command\": \"npx\",\n      \"args\": [\"@ecosyste-ms/mcp\"]\n    }\n  }\n}\n```\n</details>\n\n<details>\n<summary>Zed</summary>\n\nAdd to Zed settings (`cmd+,`):\n\n```json\n{\n  \"context_servers\": {\n    \"ecosystems\": {\n      \"command\": {\n        \"path\": \"npx\",\n        \"args\": [\"@ecosyste-ms/mcp\"]\n      }\n    }\n  }\n}\n```\n</details>\n\n<details>\n<summary>ChatGPT</summary>\n\n*Note: ChatGPT requires remote MCP servers. Run the server with a tunnel or deploy it.*\n\nFor local development with a tunnel:\n\n```bash\nnpx @anthropic-ai/mcp-proxy --port 8080 -- npx @ecosyste-ms/mcp\n```\n\nThen in ChatGPT:\n- Navigate to **Settings > Connectors**\n- Add a custom connector with your tunnel URL\n- The server will be available in Composer > Deep Research\n</details>\n\n<details>\n<summary>Codex</summary>\n\nAdd to `~/.codex/config.toml`:\n\n```toml\n[mcp_servers.ecosystems]\ncommand = \"npx\"\nargs = [\"@ecosyste-ms/mcp\"]\n```\n</details>\n\n<details>\n<summary>Gemini CLI</summary>\n\nAdd to `~/.gemini/settings.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"ecosystems\": {\n      \"command\": \"npx\",\n      \"args\": [\"@ecosyste-ms/mcp\"]\n    }\n  }\n}\n```\n</details>\n\n## Available Tools\n\n### Package Tools\n\n- **get_package** - Get full package data by ecosystem and name\n- **lookup_package** - Find package by PURL, ecosystem+name, or repository URL\n- **get_package_versions** - Get all versions with publish dates\n- **get_package_advisories** - Get security advisories (CVEs)\n- **get_package_repository** - Get repository metadata (stars, forks, language)\n- **get_package_dependents** - Get packages that depend on this package\n- **search_packages** - Full-text search (requires local database)\n\n### Registry Tools\n\n- **list_registries** - List all available package registries\n- **get_database_info** - Get local database stats\n- **health_check** - Check server health (database connectivity, API availability)\n\n## Examples\n\nAsk your LLM:\n\n- \"What license does lodash use?\"\n- \"Show me the CVEs for express\"\n- \"How many stars does the react repository have?\"\n- \"What packages depend on typescript?\"\n- \"Search for packages related to authentication\"\n- \"What's the latest version of axios?\"\n\n## Supported Ecosystems\n\nnpm, pypi, rubygems, cargo, go, maven, nuget, packagist, hex, pub, hackage, cocoapods, conda, clojars, puppet, homebrew, docker, bower, cpan, cran, julia, swiftpm, elm, deno, alpine, actions, openvsx, spack, adelie, vcpkg, racket, bioconductor, carthage, postmarketos, elpa\n\n## Development\n\n```bash\ngit clone https://github.com/ecosyste-ms/mcp\ncd mcp\nnpm install\nnpm test\n```\n\nRun locally:\n\n```bash\nnode index.js\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}