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 整合