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

@ansvar/estonian-law-mcp

v1.0.0

Published

Estonian law database covering data protection, cybersecurity, e-commerce, and criminal law provisions via Model Context Protocol

Readme

Estonian Law MCP

npm License CI

A Model Context Protocol (MCP) server providing access to Estonian legislation covering data protection, cybersecurity, e-commerce, and criminal law provisions.

MCP Registry: eu.ansvar/estonian-law-mcp npm: @ansvar/estonian-law-mcp

Quick Start

Claude Desktop / Cursor (stdio)

{
  "mcpServers": {
    "estonian-law": {
      "command": "npx",
      "args": ["-y", "@ansvar/estonian-law-mcp"]
    }
  }
}

Remote (Streamable HTTP)

estonian-law-mcp.vercel.app/mcp

Data Sources

| Source | Authority | License | |--------|-----------|---------| | Riigi Teataja | Riigikantselei (State Chancellery of Estonia) | Estonian Government Open Data (public domain under Estonian Copyright Act § 5) |

Full provenance: sources.yml

Corpus Coverage

As of 2026-02-21, the ingestion pipeline supports two statute corpus scopes:

| Scope | Discovery Query | Seed Documents | |------|------------------|----------------| | In-force corpus | dokument=seadus&kehtiv=YYYY-MM-DD | 1561 | | All statute keys (including non-active) | dokument=seadus with active-preferred dedupe | 1602 |

Current database build from the all-statutes corpus:

  • 1602 legal documents
  • 63652 legal provisions
  • 982 definitions
  • 804 EU documents
  • 7088 EU references

Notes:

  • The pipeline never fabricates legal text.
  • For statute keys where Riigi Teataja XML has no extractable paragrahv text, a metadata-only seed is written.
  • In the current corpus, 2 repealed statutes are metadata-only due to absent provision text in source XML.

Ingestion & Verification

Ingest in-force corpus (as-of date):

npm run ingest -- --full --resume --as-of 2026-02-21

Ingest all statute keys (maximal scope):

npm run ingest -- --full --all-statutes --resume --as-of 2026-02-21

Rebuild and verify:

npm run build:db
npm run build
npm test
npx tsc --noEmit

Tools

| Tool | Description | |------|-------------| | search_legislation | Full-text search across provisions | | get_provision | Retrieve specific article/section | | validate_citation | Validate legal citation | | check_currency | Check if statute is in force | | get_eu_basis | EU legal basis cross-references | | get_estonian_implementations | National EU implementations | | search_eu_implementations | Search EU documents | | validate_eu_compliance | EU compliance check | | build_legal_stance | Comprehensive legal research | | format_citation | Citation formatting | | list_sources | Data provenance | | about | Server metadata |

License

Apache-2.0


Important Disclaimers

Not Legal Advice

THIS TOOL IS NOT LEGAL ADVICE

Statute text is sourced from official government publications. However:

  • This is a research tool, not a substitute for professional legal counsel
  • Coverage may be incomplete — verify critical provisions against primary sources
  • Verify all citations against the official legal portal before relying on them professionally
  • Laws change — check the about tool for database freshness date

Client Confidentiality

When using the remote endpoint, queries are processed by third-party infrastructure (Vercel, Claude API). For privileged or confidential legal matters, use the local npm package or on-premise deployment.

Before using professionally, read: DISCLAIMER.md | PRIVACY.md


Open Law

This server is part of Ansvar Open Law — free, structured access to legislation from 70+ jurisdictions worldwide via the Model Context Protocol.

Browse all jurisdictions -> ansvar.eu/open-law

Ansvar MCP Network

Ansvar Open Law is part of the broader Ansvar MCP Network — 80+ servers covering global legislation, EU/US compliance frameworks, and cybersecurity standards.

| Category | Coverage | |----------|----------| | Legislation | 70+ jurisdictions worldwide | | EU Compliance | 49 regulations, 2,693 articles | | US Compliance | 15 federal & state regulations | | Security Frameworks | 261 frameworks, 1,451 controls | | Cybersecurity | 200K+ CVEs, STRIDE patterns, sanctions |

Explore the full network -> ansvar.ai/mcp


Built by Ansvar Systems | ansvar.eu/open-law