# npm registry package facts and downloads

The npm registry: the latest published version of a package with its licence, dependencies and repository, and its download count for the last week.

- No API key needed to call
- Source: [npm registry and npm download counts API](https://www.npmjs.com/)
- Licence and terms: [not verified \(package metadata is published by each package's authors under their own licences\)](https://docs.npmjs.com/policies/open-source-terms)
- Coverage: npm registry
- Answers are shared and cached for 900 seconds.

## Questions you can ask

- What is the latest version of the express npm package? (operation `npm_package_latest`)
- How many downloads did the express npm package get last week? (operation `npm_weekly_downloads`)

## Operations

### Latest version of an npm package

Answers: what is the latest version of an npm package, what licence does it have, what does it depend on and where is its repository?

- `name`: required, string, Package name, scoped names allowed, for example express or @types/node.

Example: What is the latest version of the express npm package?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"npm","operation":"npm_package_latest","params":{"name":"express"}}}
```

Over HTTP:

```
curl '/v1/connectors/npm/npm_package_latest?name=express'
```

### Weekly downloads of an npm package

Answers: how many times was an npm package downloaded in the last week?

- `name`: required, string, Package name, scoped names allowed, for example express or @types/node.

Example: How many downloads did the express npm package get last week?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"npm","operation":"npm_weekly_downloads","params":{"name":"express"}}}
```

Over HTTP:

```
curl '/v1/connectors/npm/npm_weekly_downloads?name=express'
```

## Source notice

Source: npm registry. The npm terms page was checked and states no reuse line for registry metadata, so reuse terms are not verified. Package metadata and download counts are passed on as received; each package carries its own licence.

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
