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

sirene-mcp

v0.1.1

Published

Model Context Protocol server for the French SIRENE business registry (no API key required).

Readme

sirene-mcp

The French SIRENE business registry, inside your AI agent.

Look up, enrich, and verify any French company - no API key, no signup, no config.

npm version npm downloads license node MCP data: data.gouv.fr


sirene-mcp is a Model Context Protocol server that gives an AI agent clean, structured access to SIRENE - INSEE's national registry of every French company and establishment. It wraps the free public API Recherche d'Entreprises (maintained by the French government / DINUM) and turns raw payloads into agent-friendly output: status codes become words, NAF / legal-form / employee codes become human labels, and SIREN vs SIRET is auto-detected.

Highlights

  • Zero setup - no API key, no account. npx and go.
  • Built for agents - codes resolved to labels, curated low-token output, clear errors.
  • 26M+ companies - the full open-data SIRENE base, companies and their establishments.
  • Verification-first - confirm a business exists and is active (not radiée) in one call.
  • GDPR-aware - surfaces the diffusable flag; never fabricates masked personal data.

Quickstart

Point your MCP client at it - nothing to install.

Claude Code / Claude Desktop - add to .mcp.json or claude_desktop_config.json:

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

Or install the CLI globally:

npm install -g sirene-mcp
sirene-mcp            # starts a stdio MCP server

Tools

| Tool | What it does | |---|---| | search_companies | Full-text + filtered search (NAF, postal code, department, region, size, status). Returns curated summaries + total count. | | get_company | Full profile of a legal unit by SIREN (9 digits). | | get_establishment | One establishment by SIRET (14 digits), with its parent company. | | verify_company | KYC-lite verdict for a SIREN or SIRET (auto-detected): exists? active? legal form? | | count_companies | Same filters as search, returns only the match count - cheap market sizing. |

Every tool accepts raw: true to bypass curation and return the untouched API payload.

Example prompts

"Is SIREN 552032534 still active, and what's its legal form?"

"Find software companies (NAF 62.01Z) in department 75 with 20-49 employees."

"How many bakeries are registered in postal code 69001?"

"Look up the head office address of Doctolib."

Example output

verify_company for DANONE:

{
  "query": "552032534",
  "type": "siren",
  "found": true,
  "status": "active",
  "active": true,
  "name": "DANONE",
  "legal_form": { "code": "5599", "label": "SA - public limited company (board of directors)" },
  "diffusable": true,
  "note": "Active legal unit, registered 1955-01-01, PARIS (75)."
}

What it is not

SIRENE is firmographic data only. It contains no emails, phone numbers, or named contacts, and this server does not scrape them - it is a targeting and verification layer, not a ready-to-send prospect list. Deep financials / KBIS / filed accounts require paid sources and are out of scope.

Glossary

| Term | Meaning | |---|---| | SIREN | 9-digit ID of a legal unit (entreprise / company) | | SIRET | 14-digit ID of an establishment (a physical site): SIREN + 5-digit NIC | | NAF / APE | activity code classifying what a company does (e.g. 62.01Z = computer programming) | | radiée | struck off / ceased → status: "ceased" | | diffusible | whether the record may be publicly redistributed (GDPR); non-diffusible records have personal fields masked |

Development

git clone https://github.com/Nathandona/sirene-mcp
cd sirene-mcp
npm install
npm run build      # compile TypeScript → dist/
npm start          # run the stdio server locally
node scripts/smoke.mjs   # end-to-end smoke test (boots server + 1 live call)

# (optional) refresh the full NAF label table from source:
node scripts/build-naf.mjs https://raw.githubusercontent.com/SocialGouv/codes-naf/master/index.json

See SPEC.md for the full design - tool contracts, output shapes, and roadmap.

Roadmap

  • near_point geographic radius search
  • Optional INSEE Sirene API backend (historical states, richer queries) when a key is provided
  • Full legal-form (catégorie juridique) label table
  • Pluggable contact / financial enrichment

Data, attribution & compliance

  • Data: API Recherche d'Entreprises, open data derived from INSEE SIRENE.
  • The API masks personal data for records flagged non-diffusible; this server surfaces a diffusable flag and never fabricates masked fields.
  • You are responsible for using the data lawfully (GDPR): non-diffusible records must not be used for prospection.

License

MIT © 2026 Nathan Donadey