search_packages
Search for a package on PyPI or npm to retrieve metadata including version, description, license, homepage, and GitHub URL.
Instructions
Search for a package on PyPI or npm (not GitHub — does not use GitHub API or rate limits). PyPI: exact-match lookup returning version, description, license, homepage, and GitHub URL. npm: text search returning multiple results with links. Use for looking up package metadata and versions — chain with search_repos to explore the source repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name to search for. | |
| ecosystem | No | Package registry: pypi or npm. | pypi |
| limit | No | Max results (npm only; PyPI returns exact match). |