Legal Data Hunter

io.github.ZachLaikPublished by GitHub account ZachLaikv1.0.4Updated Oct 24, 2026

Search 18M+ legal documents worldwide — case law, legislation, and doctrine across 110+ countries.

The publisher's own server: Hunter Lease

VerifiedStreamable HTTPWeb executableWeb Search & ScrapingKnowledge & Memory

Overview

AI-generated overview

Remote MCP server that lets an assistant search 18M+ open legal documents worldwide, including case law, legislation and doctrine from 110+ countries.

What you can do
  • Search a large index of legal documents across 110+ countries, covering case law, legislation and doctrine.
  • Retrieve legal texts from official government portals, APIs and bulk download sources that the project collects and normalizes.
  • Work with a common document schema that carries title, full text, date, source identifier and a link to the original publication.
  • Distinguish mutable legislation, which is amended over time, from immutable case law published once.
When to use it
Useful when you need to look up foreign or comparative law, find statutes or court decisions by country, or check the text of a legal provision without browsing official portals one by one.
Requirements
A remote endpoint at legaldatahunter.com over streamable HTTP, with OAuth authentication required. No environment variables or headers are declared.
Before you install
Access requires OAuth sign-in to a third-party service, so queries are sent to that provider. Coverage and freshness vary by country, and some sources are noted as blocked by CAPTCHA or IP restrictions. Legal texts are informational and not legal advice.

Installation

In SourceWeft

  1. Open Legal Data Hunter in the dashboard and add it to a workspace.
  2. Connect the required credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.ZachLaik%2Flegal-data-hunter/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.

{
  "mcpServers": {
    "legal-data-hunter": {
      "type": "http",
      "url": "https://legaldatahunter.com/mcp"
    }
  }
}

README

World Wide Law

Open-source collection scripts for open legal data from 110+ countries.

Every country publishes its laws, court decisions, and regulations online -- but in different formats, behind different APIs, with different access rules. World Wide Law is building the open infrastructure to collect, normalize, and make all of it searchable.

All sources in this repository are open data -- publicly available legal information from official government portals, APIs, and bulk download endpoints. We always prefer API and bulk access over web extraction.

Live Dashboard & API

What's Here

This repository contains 960+ collection scripts across 110+ countries that download and normalize open legal data from government portals worldwide. Each script follows a standard interface so that any developer can run, test, or improve it. Some sources are marked as blocked (CAPTCHA, IP restrictions, etc.) -- their scripts are included so developers can review and potentially contribute fixes.

sources/  FR/LegifranceCodes/     # French consolidated legal codes (API)  DE/GesetzeImInternet/   # German federal laws (bulk XML)  IT/NormattivaLegislation/ # Italian legislation (API)  ES/BOE/                 # Spanish official gazette (API)  ... (110+ countries)

Quick Start

bash
# Clone the repogit clone https://github.com/worldwidelaw/legal-sources.gitcd legal-sources
# Install dependenciespip install -r requirements.txt
# Check project statuspython runner.py status
# Test a specific sourcepython runner.py sample FR/LegifranceCodes
# See what needs workpython runner.py next

How It Works

Per-Source Structure

Every source lives in sources/{COUNTRY_CODE}/{SourceName}/ and contains:

FilePurpose
bootstrap.pyCollection script -- implements fetch_all(), fetch_updates(), normalize()
config.yamlSource metadata, access method, rate limits, schema
sample/10+ sample documents for validation
README.mdDocumentation about the data source
.env.templateRequired API keys or credentials (if any)
retrieve.pyReference resolver (e.g., "article 1240 code civil" -> document)

Two Data Models

Legislation (mutable): Laws get amended. Same ID, new content. Strategy: upsert with version tracking.

Case law (immutable): Court decisions don't change after publication. Strategy: append-only with dedup.

Standard Output Schema

Every script normalizes documents to a common schema:

  • _id -- Unique identifier
  • _source -- Source identifier (e.g., FR/LegifranceCodes)
  • _type -- legislation or case_law
  • title -- Document title
  • text -- Full text content
  • date -- Publication or decision date
  • url -- Link to the original source

Architecture

legal-sources/  manifest.yaml          # Master inventory: all sources + status  runner.py              # CLI: run, test, and manage collection scripts  common/                # Shared libraries    base_scraper.py        Base class all scripts inherit from    http_client.py         HTTP client with retries + caching    rate_limiter.py        Token bucket rate limiter    storage.py             JSONL storage with deduplication    validators.py          Schema validation  templates/             # Templates for new sources    scraper_template.py    Boilerplate for bootstrap.py    config_template.yaml   Boilerplate for config.yaml    retrieve_template.py   Boilerplate for retrieve.py  sources/               # One directory per data source    {CC}/{Source}/          (see per-source structure above)

Coverage

RegionCountriesSources
EU Member StatesAT, BE, BG, CY, CZ, DE, DK, EE, ES, FI, FR, GR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK130+
EFTA / EEACH, NO, IS, LI10+
Council of EuropeUK, TR, UA, GE, AM, AZ, MD20+
Western BalkansRS, BA, ME, AL, MK, XK15+
Latin AmericaAR, BR, CL, CO, MX, PE25+
Asia-PacificAU, JP, KR, NZ, SG, TW, IN30+
Middle East & AfricaEG, MA, ZA, NG, KE, TN20+
OtherUS, CA, and more15+

Track live progress on the dashboard.

Contributing

We welcome contributions from developers, legal researchers, and especially governments who want their open legal data included.

Who can contribute?

You are...How you can help
DeveloperBuild or fix collection scripts, add retrieve scripts, improve tooling
Government official / jurisdiction leadTell us about your country's legal data portals — no coding needed
Lawyer / legal researcherValidate data quality, improve legal reference resolution, flag coverage gaps
AnyoneReport data quality issues, broken sources, or coverage gaps

Submit a data source (no coding required):

Fix or improve a collection script:

Report a problem:

Good first issues: Browse label:good-first-issue for approachable starting points.

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). You are free to use, modify, and distribute this software, provided that any modified versions made available over a network also make their source code available under the same license.

Commercial Licensing: If you wish to use this software without the AGPL-3.0 obligations (e.g., in a proprietary product or SaaS), commercial licenses are available. Contact [email protected] for details.

Source: README.md at commit 3ab652a

Tools

0
This server asks you to sign in, so SourceWeft could not read its tools without an account and has not indexed them. What a connected account sees can depend on that account and its permissions.

Version history

1
  1. v1.0.4LatestSep 16, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Hunter integrations