Research preview — not yet endorsed by the upstream data sources. Please test but do not promote as a public service.

OpenClimateLaw

Research preview

A citation-safe Model Context Protocol layer over climate-litigation databases. Built so AI agents (Claude, ChatGPT, Gemini, Copilot, Cursor and others) can quote and cite climate cases without fabricating either.

5,027cases
66jurisdictions
81k+court documents
14k+citation edges
MCP endpoint (Streamable HTTP, no authentication on this preview): https://mcp.openclimatelaw.org/mcp

Toolkit for climate litigators

OpenClimateLaw is part of a broader regenerative.law commitment to free, open-source legal-research infrastructure for the climate-litigation field. Our intended audience is activist lawyers, university clinics, public-interest organisations, and researchers — practitioners who do this work without budgets for commercial AI research tools.

regenerative.law — an initiative of regenerative Foundation — supports climate litigation in two complementary ways: by funding cases directly, and by operating shared infrastructure that lowers the cost of doing this work. The tool below is run as a public service — free, unauthenticated, open source, with attribution preserved to the upstream sources we redistribute.

OpenClimateLaw research preview

Citation-safe MCP access to the global climate-litigation corpus (Sabin Center for Climate Change Law + Climate Rights Database, University of Zurich). The page you are reading.

5,027 cases · 66 jurisdictions · 81k+ court documents · 14k+ citation edges · MIT licence.

More tools are in development. If you operate a public-interest organisation in the climate-litigation space and would benefit from infrastructure we don't yet provide, please write to us.

What it does

Nine tools, organized into four groups. Each is callable from any MCP client; combine them for full-fidelity legal research.

Discovery

Find the right case to cite.

Graph navigation

Follow citation edges and find semantic analogues.

Citation safety

The contract that makes AI-assisted legal research trustworthy: cannot fabricate a citation, cannot fabricate a quote, cannot smuggle either past attestation.

Aggregates

Corpus-wide statistics for dashboards and analysis.

Try it

Once connected, ask any compatible client:

Add to Claude

Claude Code (CLI)

claude mcp add openclimatelaw https://mcp.openclimatelaw.org/mcp --transport http

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows). Uses mcp-remote as a stdio→HTTP bridge.

{
  "mcpServers": {
    "openclimatelaw": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.openclimatelaw.org/mcp"]
    }
  }
}

claude.ai (Pro / Team / Enterprise)

SettingsConnectors / Custom integrations → paste https://mcp.openclimatelaw.org/mcp.

Anthropic API (Messages, MCP Connector)beta

import anthropic

client = anthropic.Anthropic()
resp = client.beta.messages.create(
    model="claude-opus-4-7",
    max_tokens=1024,
    mcp_servers=[{
        "type": "url",
        "url": "https://mcp.openclimatelaw.org/mcp",
        "name": "openclimatelaw",
    }],
    messages=[{"role": "user", "content": "How many climate cases involve Brazil?"}],
    extra_headers={"anthropic-beta": "mcp-client-2025-04-04"},
)

Add to ChatGPT & OpenAI

ChatGPT (Plus / Pro / Team / Enterprise)

SettingsConnectorsAdd custom connector → paste https://mcp.openclimatelaw.org/mcp. (Custom connectors are unavailable on the Free plan.)

OpenAI Agents SDK (Python)

from agents import Agent, Runner
from agents.mcp import MCPServerStreamableHttp

async with MCPServerStreamableHttp(
    name="openclimatelaw",
    params={"url": "https://mcp.openclimatelaw.org/mcp"},
) as server:
    agent = Agent(name="research", mcp_servers=[server])
    result = await Runner.run(agent, "Find Urgenda v. Netherlands and cite it.")
    print(result.final_output)

OpenAI Responses API (mcp tool)

from openai import OpenAI
client = OpenAI()
resp = client.responses.create(
    model="gpt-5",
    tools=[{
        "type": "mcp",
        "server_label": "openclimatelaw",
        "server_url": "https://mcp.openclimatelaw.org/mcp",
    }],
    input="Look up the Urgenda case and quote one sentence verbatim, validated.",
)

Add to GitHub Copilot

VS Code (workspace)

Add to .vscode/mcp.json:

{
  "servers": {
    "openclimatelaw": {
      "type": "http",
      "url": "https://mcp.openclimatelaw.org/mcp"
    }
  }
}

Copilot CLI

gh copilot mcp add openclimatelaw --type http --url https://mcp.openclimatelaw.org/mcp

(Exact subcommand depends on your Copilot CLI version; consult gh copilot mcp --help.)

Add to Google Gemini

Gemini CLI

gemini mcp add openclimatelaw --transport http --url https://mcp.openclimatelaw.org/mcp

Or edit ~/.gemini/settings.json directly with an mcpServers block (same shape as Claude Desktop).

Google AI Studio / Vertex AI via tools API

Gemini's tool-use API can call MCP servers via the SDK's MCP client integration:

import asyncio
from google import genai
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client

async def run():
    async with streamablehttp_client("https://mcp.openclimatelaw.org/mcp") as (read, write, _):
        async with ClientSession(read, write) as session:
            await session.initialize()
            client = genai.Client()
            resp = await client.aio.models.generate_content(
                model="gemini-2.5-pro",
                contents="How many climate cases involve Germany? Use the MCP tools.",
                config={"tools": [session]},
            )
            print(resp.text)

asyncio.run(run())

Other MCP clients

Any MCP client supporting Streamable HTTP works. Point it at https://mcp.openclimatelaw.org/mcp.

Data sources, methodology & licence

Centred on the Sabin Center for Climate Change Law's Climate Litigation Database (4,812 cases, full metadata + summaries + court-document text), scraped directly from www.climatecasechart.com under the CC-BY 4.0 licence Sabin publishes the data under. Court-document PDFs are downloaded only from climatecasechart.com/wp-content/uploads/… on Sabin's own domain. No third-party API in the loop.

Metadata-only references to the Climate Rights Database (215 cases) are included with redirect-to-source links. Full case summaries are not copied — consult CRD directly for substantive content.

Per CC-BY 4.0, every citation_string returned by this MCP carries upstream attribution. The MCP server itself is open source under the MIT licence at github.com/jonashertner/openclimatelaw.

Embeddings: sentence-transformers/all-MiniLM-L6-v2 (384-dim) stored as pgvector with HNSW indexing. Citation graph: Aho-Corasick canonical-title matching plus formal-cite regex extraction. Roadmap: bulk-export ingestion path with the data sources, statute layer drawing on the ClimatePolicyRadar / CCLW HuggingFace dataset.

Source & status

Open source: github.com/jonashertner/openclimatelaw · MIT · v0.1 · Streamable HTTP MCP · Hetzner Cloud · Let's Encrypt automatic TLS.

Health check: https://mcp.openclimatelaw.org/health