Search npm, crates, Packagist, RubyGems and NuGet packages
package_searchSearches package names and descriptions on npm, crates.io, Packagist, RubyGems and NuGet, returning name, version, description, downloads where the registry gives them, licence, repository and last publish date. PyPI has no search API: it is checked by exact name only. Registries that fail are listed in unavailable. Limit per registry max 10. Related tools on this server, for a different need: package when you need facts about a package on npm, PyPI or crates.io: latest. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>"
},
"name": "package_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Package name or keywords (1-100 characters) | |
| limit | No | Results per registry, 1-10 (default 5) | |
| ecosystems | No | Comma list of npm, crates, packagist, rubygems, nuget, pypi (default: all) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| query | No | ||
| source | No | ||
| results | No | ||
| pypiNote | No | ||
| checkedAt | No | ||
| unavailable | No |