Skip to content
Eden Engine

npm Package Version

npmregistry/get-package-version

Returns one version of an npm package, the latest by default: description, licence, links, keywords, author name, deprecation notice, entry points, engines, dependencies, peer and optional dependencies, tarball URL and integrity hash, publisher and maintainer usernames. Data from the npm public registry, https://registry.npmjs.org, reduced to the fields listed (e-mail addresses, signatures and security data are not returned) and served by Eden Engine; not an official npm product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

npm public registry

Data from the npm public registry, https://registry.npmjs.org, reduced to the fields listed (e-mail addresses, signatures and security data are not returned) and served by Eden Engine; not an official npm product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "npmregistry/get-package-version" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "npmregistry/get-package-version" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "npmregistry/get-package-version", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "npmregistry/get-package-version", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 26, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "pattern": "^(@[A-Za-z0-9-~][A-Za-z0-9-._~]*/)?[A-Za-z0-9-~][A-Za-z0-9-._~]*$",
      "maxLength": 214,
      "minLength": 1,
      "description": "Package name as on npm, for example ms, react or @types/node."
    },
    "version": {
      "type": "string",
      "default": "latest",
      "pattern": "^[A-Za-z0-9][A-Za-z0-9._+-]*$",
      "maxLength": 128,
      "minLength": 1,
      "description": "An exact version such as 2.1.3, or a dist-tag such as latest, next or beta. Default latest."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "name",
    "version",
    "dependencies"
  ],
  "properties": {
    "bin": {
      "type": "object",
      "description": "Executable name to file path.",
      "additionalProperties": true
    },
    "main": {
      "type": [
        "string",
        "null"
      ],
      "description": "Main entry file."
    },
    "name": {
      "type": "string",
      "description": "Package name."
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "module or commonjs when set."
    },
    "types": {
      "type": [
        "string",
        "null"
      ],
      "description": "TypeScript declaration entry."
    },
    "author": {
      "type": [
        "string",
        "null"
      ],
      "description": "Author name only; the e-mail and URL are not returned."
    },
    "module": {
      "type": [
        "string",
        "null"
      ],
      "description": "ES module entry file."
    },
    "shasum": {
      "type": [
        "string",
        "null"
      ],
      "description": "SHA-1 of the tarball."
    },
    "engines": {
      "type": "object",
      "description": "Required engines, for example node >=14.",
      "additionalProperties": true
    },
    "license": {
      "type": [
        "string",
        "null"
      ],
      "description": "Licence, usually an SPDX id."
    },
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "Version of this record."
    },
    "bugs_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Issue tracker URL."
    },
    "homepage": {
      "type": [
        "string",
        "null"
      ],
      "description": "Home page."
    },
    "keywords": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "A keyword."
      },
      "description": "Keywords."
    },
    "integrity": {
      "type": [
        "string",
        "null"
      ],
      "description": "Subresource integrity string of the tarball (sha512)."
    },
    "publisher": {
      "type": [
        "string",
        "null"
      ],
      "description": "npm username that published this version."
    },
    "deprecated": {
      "type": [
        "string",
        "null"
      ],
      "description": "Deprecation message when the version is deprecated, else null."
    },
    "file_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Files in the tarball."
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Description."
    },
    "maintainers": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "An npm username."
      },
      "description": "Maintainer usernames (no e-mail addresses)."
    },
    "tarball_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Download URL of the package tarball."
    },
    "dependencies": {
      "type": "object",
      "description": "Dependency name to version range.",
      "additionalProperties": true
    },
    "repository_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Repository URL."
    },
    "dev_dependencies": {
      "type": "object",
      "description": "Development dependencies.",
      "additionalProperties": true
    },
    "peer_dependencies": {
      "type": "object",
      "description": "Peer dependencies.",
      "additionalProperties": true
    },
    "unpacked_size_bytes": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Unpacked size in bytes."
    },
    "optional_dependencies": {
      "type": "object",
      "description": "Optional dependencies.",
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}