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

mcp-us-business-validator

v1.0.0

Published

Validate US business entities, EINs, and addresses in real-time

Readme

mcp-us-business-validator

Validate US business entities, EINs, and addresses in real-time — no external API calls required.

Install in Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "us-business-validator": {
      "command": "npx",
      "args": ["-y", "mcp-us-business-validator"]
    }
  }
}

Restart Claude Desktop. The validate_business tool is now available.

Tools

| Tool | Description | |------|-------------| | validate_business | Validates EIN format + IRS prefix, business name rules, and USPS-compliant address structure |

What it checks

EIN

  • Format must be XX-XXXXXXX (accepts 123456789 and normalizes it)
  • Prefix must be IRS-assigned (rejects: 00, 07, 08, 09, 17, 18, 19, 28, 29, 49, 69, 70, 78, 79, 89)

Business name

  • 2–200 characters
  • Must contain at least one alphabetic character

Address

  • Street and city must be non-empty
  • State must be a valid 2-letter US state or territory abbreviation (all 50 states + DC, PR, GU, VI, AS, MP)
  • ZIP accepts 5-digit (12345) or ZIP+4 (12345-6789) format

Example

{
  "method": "tools/call",
  "params": {
    "name": "validate_business",
    "arguments": {
      "business_name": "Acme Corp",
      "ein": "12-3456789",
      "address": {
        "street": "123 Main St",
        "city": "Springfield",
        "state": "IL",
        "zip": "62701"
      }
    }
  }
}

Response:

{
  "is_valid": true,
  "errors": [],
  "formatted_data": {
    "business_name": "Acme Corp",
    "ein": "12-3456789",
    "address": {
      "street": "123 Main St",
      "city": "Springfield",
      "state": "IL",
      "zip": "62701"
    }
  },
  "summary": "✅ \"Acme Corp\" (EIN 12-3456789) passed all validation checks — Springfield, IL 62701"
}

Dev

npm install
npm run build
# Smoke test:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | node dist/index.js

Part of Cosmic API

This MCP server is part of the Cosmic API collection. Browse all tools: npm search mcp cosmic-api