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

ai-reg-mcp-server

v0.3.2

Published

Structured, queryable US AI and privacy law data via MCP (thin client)

Readme

AI Regulations MCP

Structured, queryable US AI and privacy law data via Model Context Protocol (MCP).

What is this?

AI Regulations MCP (ai-reg-mcp) is an MCP server that provides Claude (and other MCP clients) with instant access to structured data about US AI regulations, privacy laws, and compliance requirements. No more searching through PDFs or legal websites — get precise regulatory information through natural language queries.

Features

  • 55 curated AI/privacy laws across 27 jurisdictions including the EU AI Act, Colorado ADMT, California ADMT, NYC LL-144, and more
  • 313 structured compliance obligations with plain-language explanations
  • 200 tracked regulatory changes with dates and impact descriptions
  • Natural language jurisdiction queries (e.g., "Colorado" or "CO" both work)
  • Cross-jurisdictional comparisons to find the most restrictive requirements
  • Zero native dependencies — works on all platforms

Quick Start

1. Get a Free API Key

Visit ai-reg-api.vercel.app and sign in with GitHub. You'll get an API key instantly.

2. Configure Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "ai-reg-mcp": {
      "command": "npx",
      "args": ["-y", "ai-reg-mcp-server"],
      "env": {
        "AI_REG_API_KEY": "aireg_live_your_key_here"
      }
    }
  }
}

3. Restart Claude Desktop

You should see the MCP server connected. Now ask Claude about AI regulations.

Usage

Once connected, you can ask Claude questions like:

  • "What are the transparency requirements in Colorado's AI Act?"
  • "Compare disclosure requirements across Colorado, California, and NYC"
  • "What are the deadlines for compliance with the EU AI Act?"
  • "Show me recent changes to AI regulations since 2025"
  • "What obligations apply to AI deployers in California?"

Available Tools

1. search_laws

Search for laws by jurisdiction, keyword, status, or effective date.

2. get_obligations

Get detailed compliance obligations from specific laws.

3. compare_jurisdictions

Compare requirements across multiple jurisdictions.

4. get_changes

View regulatory changes over time.

Coverage

55 laws across 27 jurisdictions — US federal, the EU, and US states including CA, CO, NY, WA, TX, IL, HI, NJ, RI, CT, and more — with 313 structured obligations and 200 tracked changes. Coverage grows with monthly regulatory refreshes.

The full, always-current list is available live (no key required) at ai-reg-api.vercel.app/status or via GET /api/coverage.

Categories covered: high-risk AI governance · automated employment decisions · automated decision-making & profiling · AI in healthcare & insurance · companion & mental-health chatbots · frontier-model transparency · digital likeness & deepfakes · election synthetic media · surveillance pricing · algorithmic rent-setting · content provenance · AI in education.

Flagship laws: Colorado ADMT (SB 26-189) · EU AI Act (as amended by the Digital Omnibus) · California ADMT (CCPA), FEHA AI, SB 53 (frontier), SB 942 · NYC Local Law 144 · Texas TRAIGA · NY RAISE Act · Illinois frontier-AI audits (SB 315) · US TAKE IT DOWN Act · Tennessee ELVIS Act.

Configuration

| Environment Variable | Required | Default | Description | |---------------------|----------|---------|-------------| | AI_REG_API_KEY | Yes | — | Your API key from ai-reg-api.vercel.app | | AI_REG_API_URL | No | https://ai-reg-api.vercel.app | API base URL (for self-hosting) |

Rate Limits (Free Tier)

  • 100 requests/hour
  • 1,000 requests/day
  • 10,000 requests/month

Data Quality

All data is:

  • Hand-curated by legal/compliance experts
  • Validated against official sources
  • Structured for programmatic access
  • Updated with regulatory changes
  • Includes plain-language explanations

Architecture

v0.2.0 is a thin client — no data is bundled in the package. All law data is served from a private API, keeping intellectual property protected while keeping the MCP interface identical.

Claude Desktop  →  MCP Server (this package)  →  AI-Reg API (private)  →  Turso DB

Development

git clone https://github.com/Fractionalytics/ai-reg-mcp.git
cd ai-reg-mcp
npm install
npm test
npm run build

Upgrading from v0.1.0

v0.2.0 requires an API key. If you were using v0.1.0:

  1. Get a free API key at ai-reg-api.vercel.app
  2. Add the env block to your Claude Desktop config (see Quick Start above)
  3. Restart Claude Desktop

The MCP tool interface is unchanged — all your existing prompts will work the same.

Limitations

  • Not legal advice: This is reference data, not legal guidance
  • US-focused: Currently covers US laws + EU AI Act
  • Growing coverage: new and amended laws are added with monthly regulatory refreshes
  • API key required: Free signup, instant key

License

MIT License — see LICENSE for details

Support & Contact

Disclaimer

This software provides reference information about AI regulations and should not be considered legal advice. For compliance questions, consult with a qualified attorney familiar with your specific situation and jurisdiction.