Legal Data Hunter

io.github.ZachLaik由 GitHub 账号 ZachLaik 发布v1.0.4更新于 Oct 24, 2026

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

发布方自己的服务:Hunter Lease

已验证Streamable HTTP可网页运行网页搜索与抓取知识与记忆

概览

AI 生成的概览

远程 MCP 服务器,让助手检索全球 1800 万份以上公开法律文件,涵盖 110 多个国家的判例、立法与学说。

可以做什么
  • 在覆盖 110 多个国家的法律文件索引中检索判例、立法与学说。
  • 获取项目从各国官方门户、API 和批量下载端点采集并规范化的法律文本。
  • 按统一文档结构返回标题、全文、日期、来源标识和原文链接。
  • 区分会随修订变化的立法与发布后不再变动的判例。
适用场景
适合需要查阅外国法或比较法、按国家查找法规与法院判决,或核对某条法律条文原文而无需逐一访问官方门户的场景。
运行要求
通过 streamable HTTP 连接 legaldatahunter.com 的远程端点,需要 OAuth 认证。未声明环境变量或请求头。
安装前请注意
需通过 OAuth 登录第三方服务,查询内容会发送给该服务商。各国覆盖范围与更新时效不一,部分来源被标注为受验证码或 IP 限制而受阻。所获文本仅供参考,不构成法律意见。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Legal Data Hunter,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.ZachLaik%2Flegal-data-hunter/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "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.

来源:README.md,提交 3ab652a

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.4最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Hunter 集成