Sign In

package-intel-mcp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

package-intel-mcp

MCP server giving coding agents npm, PyPI and crates.io package health, vulnerability, dependency-graph and download data. Free and zero-config; an optional wallet or a USDC transaction hash unlocks paid consolidated risk scores over x402.

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

package-intel-mcp

Package and dependency intelligence for AI coding agents. Lets an agent check whether an npm, PyPI or crates.io (Rust) package is maintained, popular, vulnerable, or deprecated before it writes the dependency into your project.

Free, no account, no API key, no wallet. Data comes from the npm registry, PyPI, crates.io, OSV.dev and deps.dev, consolidated into one call so the agent doesn't have to stitch four APIs together.

Install

claude mcp add package-intel -- npx -y package-intel-mcp

Or add it to claude_desktop_config.json / Cursor's mcp.json by hand:

{
  "mcpServers": {
    "package-intel": {
      "command": "npx",
      "args": ["-y", "package-intel-mcp"]
    }
  }
}

That's the whole setup. No environment variables are required.

Tools

ToolWhat it answers
package_snapshotLatest version, license, repo, maintainers, last publish, deprecation
package_vulnsKnown advisories from OSV, optionally scoped to one version
package_depsDirect and transitive dependency graph, deprecated deps flagged
package_downloadsDownload counts over a time range

All three ecosystems use the same tools: pass ecosystem as npm, pypi, or crates.

All four are free and read-only. Nothing about your code is transmitted — only the package name you ask about.

Making your agent use it automatically

Installing a tool doesn't mean an agent reaches for it. Adding a line to your repo's AGENTS.md (or CLAUDE.md, or .cursor/rules) does:

## Dependencies

Before adding or upgrading any npm, PyPI or Cargo dependency, call `package_vulns`
and `package_snapshot` for it. Do not add a package that is deprecated, has
an unfixed critical advisory, or has not been published in over two years —
suggest a maintained alternative instead.

This matters more than it looks. Endor Labs found that only about 1 in 5 dependency versions recommended by AI coding assistants were safe to use, and that giving the agent a tool to check with raised that from roughly 20% to 57%.

Paid tier (optional)

One thing isn't free: a consolidated 0–100 health score that combines maintenance, popularity, security and freshness into a single verdict with a rationale, plus batch scoring for a whole manifest at once. Those are paid per call in USDC on Base via x402.

To enable them, set a wallet key:

{
  "mcpServers": {
    "package-intel": {
      "command": "npx",
      "args": ["-y", "package-intel-mcp"],
      "env": {
        "X402_PRIVATE_KEY": "0x..."
      }
    }
  }
}

Two extra tools appear: package_health ($0.01/call) and package_batch_health ($0.02/call, up to 50 packages).

This is a hot key that spends automatically. Use a dedicated wallet with a small balance, never your main one.

Paying without a hot key

If your agent settles its own on-chain payments, you can skip the private key entirely. Set X402_TX_HASH=true to expose the paid tools, send the call's price in USDC on Base yourself, and pass the resulting transaction hash as the tx_hash argument. A 402 response tells you the exact amount and address.

Each hash is accepted once and must be used within 15 minutes of confirming.

A transaction hash is public from the moment it confirms — which is also the moment it becomes usable here — so anyone watching Base could present yours first and consume the call. The exposure is one call's price, but prefer the x402 path, which is not subject to this and is gasless for you besides.

Configuration

VariableDefaultPurpose
API_URLhttps://marketagent.adam121393.workers.devBacking API
NETWORKeip155:8453 (Base mainnet)CAIP-2 network for payments
X402_PRIVATE_KEY(unset)Enables the paid tools, paying automatically
X402_TX_HASHfalseExposes the paid tools without a wallet, paying by tx_hash

Rate limits

Free endpoints allow 60 requests/minute and 2000/day per caller. Exceeding that returns a 429 with a Retry-After; the tool surfaces it as a readable message rather than a stack trace. Paid endpoints are not rate limited.

Attribution

Data from the npm registry, PyPI, crates.io, OSV.dev (Google/OpenSSF) and deps.dev (Google Open Source Insights). This tool consolidates and scores; it does not originate vulnerability data.

Keywords

mcp

FAQs

Package last updated on 09 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts