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

america-law-graph

v1.0.1

Published

America's Law Graph — MCP server for US federal and state statutory law. 529K sections, 50 states + USC + CFR, citation graph, fulltext search, cross-reference traversal.

Readme

America's Law Graph

MCP server for US federal and state statutory law. Search, traverse, and analyze 529,000+ legal provisions across 50 states, the US Code, and the Code of Federal Regulations.

Quick Start

Add to Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "america-law-graph": {
      "command": "npx",
      "args": ["-y", "america-law-graph"]
    }
  }
}

No API key required for the free tier.

What's Inside

  • 529,000+ sections of statutory law (50 states + USC + CFR)
  • 487,000+ cross-references linking sections to each other
  • 5,000+ citations to court opinions with treatment classification
  • Fulltext search across all provisions
  • Citation graph traversal — follow cross-references between statutes

Tools

| Tool | Free | Description | |------|------|-------------| | search_legislation | Yes | Fuzzy search by Act name or keyword | | find_relevant_law | Yes | Semantic search via embeddings | | traverse_graph | Yes | Expand from a statute to connected legislation | | get_act_structure | Yes | View all sections of a statute | | get_related_acts | Yes | Find related statutes via the knowledge graph | | get_risk_surface | Yes | Legal risk surface for a business description | | get_statute_rankings | Yes | Most influential statutes by PageRank | | get_amendment_velocity | Yes | Legislative change rate by domain | | get_most_litigated | Yes | Most frequently cited provisions | | get_bridge_statutes | Yes | Cross-domain connector statutes | | analyze_case | Pro | RAG-based case analysis with citations | | get_doctrinal_lineage | Pro | Full statute family tree | | scan_dead_law | Pro | Portfolio regulatory drift detection |

Options

npx america-law-graph --api-key <key>    # Use your API key
npx america-law-graph --api-url <url>    # Custom API endpoint

Get a free API key at americalawgraph.ai

Disclaimer

This is not legal advice. All responses include citations to source legislation. Consult a licensed attorney for advice specific to your situation.