# Global law

> The law of nearly every country on earth, any date: read it, see what changed it, check citations.

- name: com.lexifina/global-law
- version: 1.1.1
- connection class: R0 (autonomous)
- trust: 100/100
- quality: 89/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/com.lexifina%2Fglobal-law
- tools: https://api.protogrid.dev/v1/servers/com.lexifina%2Fglobal-law/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "global-law": {
      "type": "http",
      "url": "https://global-law.lexifina.com/mcp"
    }
  }
}
```


## Trust

- hygiene: 100
- liveness: 99
- freshness: 100
- provenance: 100
- drivers: +repository +namespace-matches-repo +dns-namespace +website +reachable +uptime-97% +updated-19d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 89/100 (good)

### protocol: 100 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- pass `protocol.list_ttl`: tool list is cacheable (ttlMs 3600000)

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 100 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 18 of 18 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 5,540 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool, prompt or resource definitions
- pass `tools.poisoning`: no instructions aimed at the model in tool, prompt or resource definitions

### stability: 50 (weight 15)

- warn `stability.changes`: 52 tool changes in 30 days
- fail `stability.rug_pull`: 4 tools kept their name but changed most of their description in 30 days; review before trusting them
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 18, about 5,540 tokens to load them all
- tool set hash: 0d58343645df6f1e27bc3f1e6d9d2ddb
- tools last changed: 2026-11-24T01:31:23.560Z
- badge: [![protogrid quality](https://protogrid.dev/badge/com.lexifina/global-law.svg)](https://protogrid.dev/servers/com.lexifina/global-law)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-24 `upcoming_changes` added no new version (still 1.1.1)
  - What is about to change: the laws already published and recorded that take effect after today, within the next days (90 unless given), in one jurisdiction or all, the soonest first, each with the day it takes effect, how many days away that is and how many provisions it changes. Use it for "what comes into force soon", "upcoming changes", "what do we need to prepare for". For what a law will change, call law_details with its corpus_commit; for a provision's text from that day, read_law with that date.
- 2026-11-23 `applies_to_case` removed
  - For a case commenced on one date, which later changes to a provision reach it (from any scope the record holds, such as "cases commenced on or after"), and the text that applies to it.
- 2026-11-23 `check_precedent` removed
  - The judgments the record holds for a provision, each checked: is the text the court applied still the text in force (today, or on a date), and if not, which laws changed it and how? Also checks any one decision by the day it was decided (decided).
- 2026-11-23 `case_check` added
  - A provision for one case. With commenced (the day the case began): which later changes to the provision reach that case (from any scope the record holds, such as "cases commenced on or after"), and the text that applies to it, period by period. With decided (the day a court decided): is the text the court applied still the text in force (today, or on a date), and if not, which laws changed it and how. With neither: the judgments the record holds for the provision, each checked that way. Give both for a case that has a decision.
- 2026-11-16 `law_details` changed (inputSchema)
- 2026-11-16 `phrase_history` changed (inputSchema)
- 2026-11-16 `search_changes` changed (inputSchema)
- 2026-11-16 `changes_between` changed (inputSchema)
- 2026-11-16 `search_law` changed (description, inputSchema)
  - before: Search the text of all the law in force on a date, across every jurisdiction or one, in the law's own language. Plain words are a phrase; when no provision holds the phrase, the provisions that hold all the words are given. Names the acts that match best.
  - after: Search the text of all the law in force on a date, across every jurisdiction or one, in the law's own language. Plain words are a phrase; when no provision holds the phrase, the provisions that hold all the words are given. Names the acts that match best. The answer also describes the first provisions found (matches): for each, how to cite it, its official page, what last changed it and an excerpt. An excerpt is part of a provision, not the whole: read_law gives the whole.
- 2026-11-16 `laws_between` changed (inputSchema)

Full history: https://api.protogrid.dev/v1/servers/com.lexifina%2Fglobal-law/changes

## Remotes

- https://global-law.lexifina.com/mcp (streamable-http, auth none, reachable true, uptime30d 0.9736842)

## Packages

_none_

## Tools (18)

- `case_check`: A provision for one case. With commenced (the day the case began): which later changes to the provision reach that case (from any scope the record holds, such as "cases commenced on or after"), and the text that applies to it, period by period. With decided (the day a court decided): is the text the court applied still the text in force (today, or on a date), and if not, which laws changed it and how. With neither: the judgments the record holds for the provision, each checked that way. Give both for a case that has a decision.
- `changes_between`: Every provision whose text on date_b differs from its text on date_a, in every jurisdiction or one, with the laws that took effect after date_a, up to and including date_b.
- `compare_dates`: How a provision changed between two dates: a word-level diff of its text on date_a and its text on date_b, and the laws that took effect after date_a, up to and including date_b.
- `find_provision`: Find the file path of a provision by its number ("1182", "Art. 16a", "reg 13") or words from its heading ("debtor", "Asylrecht"). Also finds an act by its name ("Data Protection Act 2018": its folder), a provision by its act and number in one query ("Equality Act 2010 section 4", "Code du travail L3141-3", "Codul civil art. 1357"), and a court decision by its docket number, citation or name ("1 BvR 1547/19", "410 U.S. 113", "Miranda v. Arizona").
- `law_details`: The full record of a law's change: its commit message with every trailer (enacted, in force, published, sources, scope), the provisions it changed, and what it did to each one's words (a word diff, or "layout only", or "text moved between provisions"). One call answers "what did this law change"; no need to compare each provision.
- `laws_between`: Every law that took effect between two dates, both days included, across all jurisdictions or one, in the order they took effect.
- `list_jurisdictions`: List every jurisdiction and body of law in the tree, with how far each record reaches and an example path. Not needed before a search: search_law and find_provision take a country by name. Give jurisdiction for one country's bodies of law; give none for the list of countries.
- `list_provisions`: Browse a corpus: the provision files under a corpus or folder (for example united-states/federal/usc/title-11), with headings, as in force on a date. For a folder of acts or instruments, by_folder gives one row each with its title and last change; a partial name lists the folders that start with it (malta/national/acts/sl/586. for every instrument made under Cap. 586).
- `phrase_history`: When words came into the law and when they left it, at any date and in every jurisdiction: each change whose added or removed text contains them. Use it for things no longer in force (for example "COVID" in the Grundgesetz).
- `provision_history`: Every law that changed a provision, oldest first, with its in-force, enacted or made, and published dates.
- `read_law`: The text of a provision as it was in force on a date, with the law that last changed it, the next change, its history in brief, and any limit of the record that applies. Several provisions in one answer: give paths, or a folder (an act) as path.
- `resolve_citations`: Read every citation in a piece of text (a brief, a judgment, an email) and resolve each to its provision, with its state on a date: in force or not, the law that last changed it, and the next change.
- `search_changes`: Search the record of changes (each commit message: the law, its dates, what it did) rather than the text of the law. For example "temporary", "COVID", "Bundesrat". With start and end, the changes in force from start to end, both days included.
- `search_law`: Search the text of all the law in force on a date, across every jurisdiction or one, in the law's own language. Plain words are a phrase; when no provision holds the phrase, the provisions that hold all the words are given. Names the acts that match best. The answer also describes the first provisions found (matches): for each, how to cite it, its official page, what last changed it and an excerpt. An excerpt is part of a provision, not the whole: read_law gives the whole.
- `upcoming_changes`: What is about to change: the laws already published and recorded that take effect after today, within the next days (90 unless given), in one jurisdiction or all, the soonest first, each with the day it takes effect, how many days away that is and how many provisions it changes. Use it for "what comes into force soon", "upcoming changes", "what do we need to prepare for". For what a law will change, call law_details with its corpus_commit; for a provision's text from that day, read_law with that date.
- `what_else_changes`: Which provisions rely on, cite or use the definitions of this one, on a date: those that cite it, and those that use a term it defines (for example the provisions that use "debtor in possession"), with the definition's scope ("In this subchapter"). Use it before a text search when asked what depends on a provision or its definitions; a change to this provision can change what they mean.
- `who_wrote`: Which law wrote each word (or each line) of a provision as it stood on a date, with a count of words per law.
- `world_on_date`: What every jurisdiction in the tree looked like on one date: the last change in force in each, and the next.

## Prompts and resources

### Prompts (3)

- `` case_timeline ``: Which text of a provision governs a case commenced on a date, period by period.
- `` provision_on_a_date ``: Read a provision as in force on a date, with who wrote it, what changed since, and what relies on it.
- `` what_changed ``: Every change in one jurisdiction or all between two dates, with the laws that made them.

### Resources (4)

- `` global-law://CHANGELOG.md ``: What has changed and what is open
- `` global-law://manifest.json ``: Every corpus and its coverage
- `` global-law://README.md ``: How the tree is arranged and read
- `` global-law://REPRODUCE.md ``: How it was built and how to rebuild it

### Resource templates (1)

- `` global-law://law/{path}?date={date} ``: For example global-law://law/united-states/federal/usc/title-11/1182.md?date=2022-07-01
