Skip to content
Eden Engine

NPM Package Info Lookup (Version, License, Downloads, Dependencies)

omnial/x402-npm-package-info

Given an npm package name, returns its latest version, license, author metadata, keyword tags, weekly download count, dependency and dev-dependency lists, npm dist-tag pointers (latest, next, beta, rc, canary, experimental, backport), the five most recently published versions, and total version count. A package name that does not resolve to a real package on the registry returns an error code and message instead of package data.

activeper callv3

Price

$0.0811 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 $5.00.

Data source

npm

Data from npm.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

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

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/x402-npm-package-info" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/x402-npm-package-info" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/x402-npm-package-info", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/x402-npm-package-info", 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.0811
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "package"
  ],
  "properties": {
    "package": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Present instead of package fields when the queried name does not resolve to a real npm package, e.g. 'HTTP_400'."
    },
    "name": {
      "type": "string",
      "description": "The npm package name, e.g. 'react'."
    },
    "author": {
      "description": "Package author/maintainer metadata as npm's own registry publishes it. Often `null` -- shape when populated (a plain string vs. an {name, email, url} object, npm's own registry supports both) is not documented; do not assume a fixed shape."
    },
    "created": {
      "type": "string",
      "description": "ISO 8601 timestamp the package was first published."
    },
    "license": {
      "type": "string",
      "description": "SPDX-style license identifier, e.g. 'MIT'."
    },
    "message": {
      "type": "string",
      "description": "Human-readable detail accompanying `code`, e.g. 'Invalid input: HTTP 400'."
    },
    "keywords": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Keyword tags the package's maintainer attached to it on npm."
    },
    "dist_tags": {
      "type": "object",
      "properties": {
        "rc": {
          "type": "string"
        },
        "beta": {
          "type": "string"
        },
        "next": {
          "type": "string"
        },
        "canary": {
          "type": "string"
        },
        "latest": {
          "type": "string"
        },
        "backport": {
          "type": "string"
        },
        "experimental": {
          "type": "string"
        }
      },
      "description": "npm dist-tag pointers (which version each tag currently resolves to). A popular package may carry several tags (seven observed for react) -- a package that has never published under a given tag may omit that key.",
      "additionalProperties": true
    },
    "description": {
      "type": "string",
      "description": "The package's own npm registry description."
    },
    "dependencies": {
      "type": "array",
      "description": "Runtime dependencies. Often empty (`[]`) -- item shape when populated is not documented."
    },
    "last_modified": {
      "type": "string",
      "description": "ISO 8601 timestamp of the package's most recent publish."
    },
    "latest_version": {
      "type": "string",
      "description": "e.g. '19.2.8'."
    },
    "total_versions": {
      "type": "number",
      "description": "Count of versions ever published for this package."
    },
    "recent_versions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "version": {
            "type": "string"
          },
          "published": {
            "type": "string",
            "description": "ISO 8601 publish timestamp."
          }
        },
        "additionalProperties": true
      },
      "description": "The most recently published versions, newest first."
    },
    "dev_dependencies": {
      "type": "array",
      "description": "Development-only dependencies. Often empty (`[]`) -- item shape when populated is not documented."
    },
    "weekly_downloads": {
      "type": "number",
      "description": "Downloads over the trailing week."
    }
  },
  "description": "The npm package record. A package name that does not resolve to a real npm package returns `code`/`message` instead of any package field below.",
  "additionalProperties": true
}