npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@axiom-foundation/mcp

v0.1.4

Published

MCP server adapter for the Axiom Rule API.

Readme

Axiom MCP

MCP server adapter for the Axiom Rule API. The server is intentionally thin: all rule search, retrieval, source lookup, graph traversal, package discovery, and calculation execution go through the HTTP API.

Run

For a client-focused setup guide, see docs/quickstart.md.

From a checkout:

AXIOM_API_BASE_URL=https://axiom-api-eta.vercel.app \
AXIOM_API_KEY=... \
npm run mcp

After installation:

AXIOM_API_BASE_URL=https://axiom-api-eta.vercel.app \
AXIOM_API_KEY=... \
axiom-mcp

Claude Desktop example:

{
  "mcpServers": {
    "axiom": {
      "command": "npx",
      "args": ["-y", "@axiom-foundation/mcp"],
      "env": {
        "AXIOM_API_BASE_URL": "https://axiom-api-eta.vercel.app",
        "AXIOM_API_KEY": "axiom_..."
      }
    }
  }
}

The npm package @axiom-foundation/mcp is the primary distribution path. Installing from GitHub also works and tracks main:

{
  "mcpServers": {
    "axiom": {
      "command": "npx",
      "args": ["-y", "github:TheAxiomFoundation/axiom-mcp"],
      "env": {
        "AXIOM_API_BASE_URL": "https://axiom-api-eta.vercel.app",
        "AXIOM_API_KEY": "axiom_..."
      }
    }
  }
}

For local development, point the client at the checkout:

{
  "mcpServers": {
    "axiom-local": {
      "command": "node",
      "args": ["/path/to/axiom-mcp/dist/index.js"],
      "env": {
        "AXIOM_API_BASE_URL": "https://axiom-api-eta.vercel.app",
        "AXIOM_API_KEY": "axiom_..."
      }
    }
  }
}

Tools

  • get_capabilities
  • list_programs
  • search_rules
  • get_rule
  • get_rule_sources
  • get_rule_dependencies
  • list_runtime_packages
  • get_runtime_package
  • list_parity_cases
  • run_parity_cases
  • calculate_household
  • calculate_batch (up to 25 synchronous calculations, positional results)
  • submit_calculation_job (up to 50 calculations as a detached async job)
  • get_calculation_job (poll job status, progress, and results)

list_parity_cases returns canonical Axiom requests plus optional external_comparisons metadata for engines such as PolicyEngine. Those comparisons include the external request, output mappings, trace mappings, notes, and tolerances owned by the Axiom API fixture.

run_parity_cases returns the Axiom API parity summary, expected-output diffs, trace_outputs, calculation trace rows, and case notes when the API provides them. Use it for migration checks and to explain why a result differs from another engine.

Resources

  • axiom://capabilities
  • axiom://programs
  • axiom://runtime/packages
  • axiom://parity/cases

Prompts

  • explain_rule_for_caseworker
  • trace_household_result
  • find_missing_household_inputs

Security

The server does not expose shell execution, arbitrary network fetch, database access, or write/admin operations. It only calls the configured Axiom API base URL with the configured API key.

No API key yet? Issue yourself a trial key (14-day expiry, read + calculate scopes, no signup): curl -s -X POST https://axiom-api-eta.vercel.app/v1/keys/trial

Recommended API key scopes:

rules:read      get_capabilities, list_programs, search_rules, get_rule, list_runtime_packages, get_runtime_package
sources:read    get_rule_sources
graphs:read     get_rule_dependencies
calculate:run   calculate_household, calculate_batch, submit_calculation_job, get_calculation_job
admin:parity    list_parity_cases, run_parity_cases

Use the narrowest key that matches the agent workflow. A read-only research agent usually needs rules:read, sources:read, and graphs:read; a scenario runner also needs calculate:run.

Axiom API errors are returned to the MCP client as structured tool errors that include the HTTP status and the API's error body, so agents can see error codes, messages, and request ids. If the Axiom API returns 429 rate_limited with a retry-after of 10 seconds or less, the server retries once automatically; otherwise the tool error includes the response's retry-after value — retry after that interval.

Full reference with recorded examples: axiom-api-eta.vercel.app/docs/mcp

Configuration

| Variable | Default | Purpose | | --- | --- | --- | | AXIOM_API_BASE_URL | https://axiom-api-eta.vercel.app | Axiom API base URL | | AXIOM_API_KEY | none | Bearer token sent to the API | | AXIOM_API_TIMEOUT_MS | 30000 | Per-request timeout in milliseconds |

Development

npm run check
npm pack --dry-run
npm run smoke:github-install

Live smoke against the deployed API:

AXIOM_API_BASE_URL=https://axiom-api-eta.vercel.app \
AXIOM_API_KEY=... \
npm run smoke:live

Publishing

The package is published to npm as @axiom-foundation/mcp.

Use npm Trusted Publishing for CI/CD releases instead of a long-lived npm token. Configure the package's trusted publisher in npm with:

  • package: @axiom-foundation/mcp
  • repository owner: TheAxiomFoundation
  • repository name: axiom-mcp
  • workflow filename: publish.yml
  • environment: leave blank unless the workflow is later moved behind a GitHub environment

Then run the manual Publish MCP Package workflow from:

https://github.com/TheAxiomFoundation/axiom-mcp/actions

The publish workflow runs npm run check, npm pack --dry-run, and npm publish --access public --provenance through GitHub OIDC. The first version (0.1.0) was published manually because npm requires an existing package before trusted publishing can be configured; all later releases should go through the workflow.

MCP clients can install with:

npx -y @axiom-foundation/mcp