Lawstronaut MCP server
Endpoint: https://mcp.lawstronaut.com/ · Authentication: Bearer token
Read-only legal research across laws and court cases in more than 150 jurisdictions: legal taxonomy, document metadata, full text, citation bundles, source-file links and recent-change horizon scans. Calls need a paid Lawstronaut subscription token sent as a Bearer token.
How do I authenticate?
Create a scoped provider token and supply it using the credential header and value format documented in the client setup below. Keep credentials out of shared URLs and logs.
Authentication and connection guideConnection specification
- Remote endpoint
https://mcp.lawstronaut.com/- Browser access
- Not yet measured
- Declared MCP transport
- Streamable HTTP
- Live-validated MCP transport
- Streamable HTTP — Observed by the latest catalog validation
- Declared authentication
- Bearer token
- Detected authentication
- Bearer token detected or retained from publisher evidence
- Alternative authentication
- OAuth 2.1
- Protocol lifecycle
- Stateless MCP · 2026-07-28
- Required header
Authorization— Lawstronaut developer-portal token: Bearer <LAWSTRONAUT_TOKEN>- Authorization server
https://mcp.lawstronaut.com- Category
- Reference
Product documentation · Official listing documentation · Claude connector directory listing · ChatGPT app directory listing
Provider guidance
- Initialization and the tool list are public, so the stored inventory is partial: only the tool list is public and every tool call needs a paid credential. Lawstronaut also documents OAuth 2.0 with a pre-registered client ID and secret (scope mcp:tools:read). No tool was invoked.
More Reference MCP servers · Browse all MCP servers · Test this endpoint in the MCP Playground
Connect it
Live-validated endpoint: https://mcp.lawstronaut.com/ · Streamable HTTP. Bearer token authentication uses a named environment placeholder.
Agent prompt for Claude Code or Codex
Add the Lawstronaut MCP server to my MCP client configuration and verify that it works.
What it is: Read-only legal research across laws and court cases in more than 150 jurisdictions: legal taxonomy, document metadata, full text, citation bundles, source-file links and recent-change horizon scans. Calls need a paid Lawstronaut subscription token sent as a Bearer token.
Server URL: https://mcp.lawstronaut.com/
Transport: Streamable HTTP (remote MCP server, no local install).
Authentication: Bearer token. Bearer token authentication uses a named environment placeholder.
Tools (18, as last observed by mcptest): document_presigned_url, document_version, evidence_pull, health_check, horizon_scan, list_authority_types, list_categories, list_documents, list_domains, list_full_text, list_issuing_authorities, list_jurisdictions, list_law_types, list_markdown, list_portals, list_subcategories, list_subdomains, search.
Reference: https://mcptest.io/servers/lawstronaut/
Steps:
1. Work out which MCP client I use (Claude Code, Codex, Cursor, VS Code or another) and add the server under the name "lawstronaut" in that client's MCP configuration, user scope unless I ask otherwise.
Claude Code: claude mcp add --transport http --scope user --header 'Authorization: Bearer '"${LAWSTRONAUT_TOKEN}" 'lawstronaut' 'https://mcp.lawstronaut.com/'
Codex: codex mcp add 'lawstronaut' --url 'https://mcp.lawstronaut.com/' --bearer-token-env-var 'LAWSTRONAUT_TOKEN'
Other clients: use the setup for that client on the reference page.
2. Never write a credential value into a file that could be committed; reference an environment variable or the client's secret store, and ask me for any value you need.
3. Verify: connect to the server and call tools/list. Confirm the tools above are listed, and report any sign-in step I still have to complete.Claude Code setup
Run in a terminal. This user-scoped entry is available across projects.
claude mcp add --transport http --scope user --header 'Authorization: Bearer '"${LAWSTRONAUT_TOKEN}" 'lawstronaut' 'https://mcp.lawstronaut.com/'- Store LAWSTRONAUT_TOKEN in your operating system keychain, secret manager, or protected environment; never commit the value. The Authorization header syntax is Bearer <LAWSTRONAUT_TOKEN>.
Codex CLI setup
Run in a terminal; Codex stores the entry in ~/.codex/config.toml.
codex mcp add 'lawstronaut' --url 'https://mcp.lawstronaut.com/' --bearer-token-env-var 'LAWSTRONAUT_TOKEN'- Store LAWSTRONAUT_TOKEN in your operating system keychain, secret manager, or protected environment; never commit the value. The Authorization header syntax is Bearer <LAWSTRONAUT_TOKEN>.
Cursor setup
Add to .cursor/mcp.json for this project, or ~/.cursor/mcp.json for all projects.
{
"mcpServers": {
"lawstronaut": {
"url": "https://mcp.lawstronaut.com/",
"headers": {
"Authorization": "Bearer ${env:LAWSTRONAUT_TOKEN}"
}
}
}
}- Store LAWSTRONAUT_TOKEN in your operating system keychain, secret manager, or protected environment; never commit the value. The Authorization header syntax is Bearer <LAWSTRONAUT_TOKEN>.
VS Code setup
Add to .vscode/mcp.json, or run “MCP: Open User Configuration” for a private user-level entry.
{
"servers": {
"lawstronaut": {
"type": "http",
"url": "https://mcp.lawstronaut.com/",
"headers": {
"Authorization": "Bearer ${input:lawstronaut_token}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "lawstronaut_token",
"description": "LAWSTRONAUT_TOKEN for Lawstronaut",
"password": true
}
]
}- VS Code requests LAWSTRONAUT_TOKEN as a masked input; use a secret manager and do not put a default value in mcp.json. The Authorization syntax remains Bearer <LAWSTRONAUT_TOKEN>.
Claude setup
Add the endpoint above in Claude:
- Customize > Connectors > Add custom connector
- Team/Enterprise: Organization settings > Connectors > Add > Custom > Web
Claude Desktop setup
Add the endpoint above in Claude Desktop:
- Remote: Customize > Connectors (same as claude.ai)
- Local: Settings > Developer > Edit Config, or Settings > Extensions for .mcpb files
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows), local servers only
ChatGPT setup
Add the endpoint above in ChatGPT:
- ChatGPT web: Plugins > Add custom MCP server, then configure authentication and accept the risk warning
Windsurf setup
Add the endpoint above in Windsurf:
~/.config/devin/mcp_config.json(%APPDATA%\devin\mcp_config.jsonon Windows),serverUrlorurl- Cascade panel > ... > MCPs > Open MCP config file
Gemini CLI setup
Add the endpoint above in Gemini CLI:
gemini mcp add --transport http <name> <url>~/.gemini/settings.json(user) or.gemini/settings.json(project),mcpServers
MCP SDK setup
Add the endpoint above in MCP SDK:
- Programmatic:
new Client(...).connect(new StreamableHTTPClientTransport(url))
Notes for every client
- Optional oauth alternative: Store LAWSTRONAUT_TOKEN in your operating system keychain, secret manager, or protected environment; never commit the value. The Authorization header syntax is Bearer <LAWSTRONAUT_TOKEN>.
- Provider guidance: Initialization and the tool list are public, so the stored inventory is partial: only the tool list is public and every tool call needs a paid credential. Lawstronaut also documents OAuth 2.0 with a pre-registered client ID and secret (scope mcp:tools:read). No tool was invoked.
Client compatibility
| Client | Status | Why |
|---|---|---|
| Claude Code | Supported | Claude Code supports Streamable HTTP servers and bearer-token headers or OAuth sign-in. |
| Codex | Supported | Codex supports Streamable HTTP servers and bearer-token headers or OAuth sign-in. |
| Cursor | Supported | Cursor supports Streamable HTTP servers and bearer-token headers or OAuth sign-in. |
| VS Code | Supported | VS Code supports Streamable HTTP servers and bearer-token headers or OAuth sign-in. |
| Claude | Supported | Claude supports Streamable HTTP servers and bearer-token headers or OAuth sign-in. |
| Claude Desktop | Supported | Claude Desktop supports Streamable HTTP servers and bearer-token headers or OAuth sign-in. |
| ChatGPT | Supported | ChatGPT supports Streamable HTTP servers and bearer-token headers or OAuth sign-in. |
| Windsurf | Supported | Windsurf supports Streamable HTTP servers and bearer-token headers or OAuth sign-in. |
| Gemini CLI | Supported | Gemini CLI supports Streamable HTTP servers and bearer-token headers or OAuth sign-in. |
| MCP SDK | Supported | MCP SDK supports Streamable HTTP servers and bearer-token headers or OAuth sign-in. |
Computed from this server's validated transport, protocol and authentication against documented client support. Checks the catalog has not observed are not counted.
Latest validation evidence
- Validation status
- Online when last tested
- Validation checked at
- Nov 28, 2026 at 1:22 AM
- Validation detail
- Negotiated stateless MCP 2026-07-28 at https://mcp.lawstronaut.com/; detected transport streamable-http; authentication bearer-token
Tool inventory
What the catalog validator observed on at https://mcp.lawstronaut.com/ without credentials. The live server may have changed since; connect in the Playground for the current list.
Tools provided by Lawstronaut 18
Some details were sanitized for public display.
document_presigned_urloutputSchema declaredReturns a temporary signed URL to the original source file (PDF or other stored file) for one document. The URL expires. This tool does not return the document body or a citation bundle. When to use: When you need to open or download the original file. Examples: 'give me the PDF for uuid …', 'link to the source file so I can download it'. Use the uuid from list_documents, search, or horizon_scan. When not: For plain text of the body, use list_full_text (example: 'quote the operative wording'). For structured Markdown, use list_markdown (example: 'keep the article headings'). For a complete cit
Input
uuid: stringuuid: stringrequiredUUID
document_versionoutputSchema declaredRetrieves a specific document with a specific version When to use: The user wants to find a specific document with a specific version When not: The user wants to find a specific document with a specific version but the document is not found Parameters: uuid (required) is the UUID of the document, version (required) is the version of the document Behavior: Read-only SELECT; does not create, update, or delete records, files, or credentials. The only effect is a database read. Auth: tools/call requires OAuth 2.0 or a Bearer [REDACTED] (401 if missing, invalid, revoked, or no active subscription).
Input
uuid: string, version: integeruuid: stringrequiredUUID
version: integerrequiredVersion
evidence_pulloutputSchema declaredReturns one complete citation bundle for a single document: metadata, a permanent legal_link, a citation_template, the body, and a temporary source-file URL when one exists. When to use: When one call must support a citation or an audit. Examples: 'show me the source for this Irish statute', 'cite uuid … with its authority, date, link, and text'. Prefer this over calling the body and file tools separately. When not: For plain text alone, use list_full_text (example: 'quote the operative wording'). For structured Markdown alone, use list_markdown (example: 'keep the article headings'). For only
Input
include_source_url?: boolean, include_text?: boolean, iso: string, text_format?: string, uuid: stringinclude_source_url?: booleanoptionalFetch a temporary signed URL to the original file (PDF etc.) where available (default True).
include_text?: booleanoptionalFetch the full body (default True)
iso: stringrequiredDocument's jurisdiction ISO code, e.g. 'IE', 'NL', 'US', etc.
text_format?: stringoptional'markdown' (preserves structure) or 'plain'.
uuid: stringrequiredDocument's UUID
health_checkoutputSchema declaredVerify that the Lawstronaut MCP server and its backing services (database, cache) are reachable and responding. Returns the overall status, per-service status, server version, and a UTC timestamp. When to use: Call at the start of a session to confirm connectivity before running any data tools, or when a previous tool call returned an unexpected error and you want to diagnose whether the service itself is down. When not: Do not call on every tool invocation — use it only for diagnostic purposes. It does not return legal data. Parameters: Takes none — invoke with {}. No filters, pagination, or
Input No parameters
horizon_scanoutputSchema declaredScans recent legal documents across jurisdictions. When to use: When you need to find legal content for a specific jurisdiction and optional filters. When not: Do not use this to read a document body or download a file. For plain text use list_full_text. For structured Markdown use list_markdown. For a complete citation bundle use evidence_pull. For a temporary source-file URL use document_presigned_url. Do not call without an iso from list_jurisdictions. Skip if you already have this scan for the same iso and filters. Parameters: iso (required) is a jurisdiction code from list_jurisdictions (
Input
date_field?: string, include_repealed?: boolean, iso: string, issuing_authority?: null | string, max_per_jurisdiction?: integer, since?: string, status?: null | string, topic?: null | string, type_of_authority?: null | stringdate_field?: stringoptionalWhich date to window on. "crawling_date" (default) = when Lawstronaut crawled it. "publication_date" = when officially published. "last_updated" = when corpus record last changed.
include_repealed?: booleanoptionalIf false, drop documents where repealed=true
iso: stringrequiredOne ISO code e.g. "IE", "NL", "US", etc.
issuing_authority?: null | stringoptionalOptional filter on issuing authority
max_per_jurisdiction?: integeroptionalMax docs to return per jurisdiction (1-100)
since?: stringoptionalFreshness window. "yesterday", "today", "Nd"/"Nh"/"Nw" (e.g. "7d"), or ISO date "YYYY-MM-DD"
status?: null | stringoptionalOptional filter on status field e.g. "new", "updated" String.
topic?: null | stringoptionalOptional filter (matches title) e.g. "employee monitoring" or "workplace surveillance"
type_of_authority?: null | stringoptionalOptional filter on type of authority
list_authority_typesoutputSchema declaredLists the authority types available through this tool, with metadata such as jurisdiction and portal name. When to use: When you need authority types for a known iso. Pass optional portal name or authority type only to narrow that list. When not: Do not call without an iso from list_jurisdictions. Skip if you already have this authority type list for the same iso and filters. Parameters: iso (required) is a jurisdiction code from list_jurisdictions and is uppercased before the query (e.g. BE, or US_CA for a state). portal_name and authority_type are optional. authority_type must match one auth
Input
authority_type?: string, iso: string, limit?: number, next_id?: number, portal_name?: stringauthority_type?: stringoptionalFilter by authority type
iso: stringrequiredFilter by Jurisdiction ISO code (e.g. 'US')
limit?: numberoptionalNumber of results to return
next_id?: numberoptionalNext portal ID to return
portal_name?: stringoptionalFilter by portal name
list_categoriesoutputSchema declaredLists categories under one subdomain, with the parent domain and subdomain names. This is the third taxonomy step. When to use: When you already have a subdomain_id from list_subdomains. Examples: 'categories under subdomain A.1', 'find a category named jurisdiction'. Pass category_name only to narrow by name. When not: Do not use this for subcategories; use list_subcategories with the returned category_id. Do not use it for law types; use list_law_types. For the parent lists use list_domains and list_subdomains. For documents use list_documents or search. Do not call without a subdomain_id fr
Input
category_name?: string, limit?: number, next_id?: number, subdomain_id?: stringcategory_name?: stringoptionalFilter by category name
limit?: numberoptionalNumber of results to return
next_id?: numberoptionalNext ID to paginate the results
subdomain_id?: stringoptionalFilter by Subdomain ID
list_documentsoutputSchema declaredLists document metadata in a jurisdiction (title, dates, source, classification) with filters and pagination. It does not return the document body, a citation bundle, or a source-file URL. When to use: When you need to find or browse documents before reading them. Example: 'which Belgian employment statutes mention night work?' Use the returned uuid with a body or citation tool. When not: Do not use this for the body or the file. For plain text, use list_full_text (example: 'quote the operative wording'). For structured Markdown, use list_markdown (example: 'keep the article headings'). For a
Input
crawling_date?: string, date_of_decision?: string, date_of_enactment?: string, effective_date?: string, expiration_date?: string, file_data_only?: boolean, include_total?: boolean, is_repealed?: boolean, iso: string, issuing_authority?: string, issuing_authority_tags?: array, lang?: string, last_amendment?: string, last_updated?: string, limit?: integer, next_id?: number, portal?: string, portal_id?: number, publication_date?: string, section_title?: string, source_identifier?: string, source_secondary_identifier?: string, status?: string, tag?: string, title?: string, type_of_authority?: string, url?: string, uuid?: string, version?: stringcrawling_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
date_of_decision?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
date_of_enactment?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
effective_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
expiration_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
file_data_only?: booleanoptional(default value is false) returns all documents with file metadata and without file metadata. true returns only the documents with file metadata.
include_total?: booleanoptionalInclude total count in response
is_repealed?: booleanoptionalFilter by repealed documents. default value is false
iso: stringrequiredFilter by Jurisdiction ISO code (e.g. 'US')
issuing_authority?: stringoptionalFilter by issuing authority
issuing_authority_tags?: arrayoptionalFilter by issuing authority tags
lang?: stringoptionalExact portal language name, for example English. Filters the portal, not the document language.
last_amendment?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
last_updated?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
limit?: integeroptionalPage size. Default 20, maximum 100.
next_id?: numberoptionaldocument id of the first row of the next page, from pagination.next_id. Omit on the first page.
portal?: stringoptionalFilter by portal name
portal_id?: numberoptionalFilter by portal ID
publication_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
section_title?: stringoptionalFilter by section title
source_identifier?: stringoptionalFilter by source identifier
source_secondary_identifier?: stringoptionalFilter by secondary source identifier
status?: stringoptionalFilter by document status
tag?: stringoptionalFilter by portal tag
title?: stringoptionalFilter by title
type_of_authority?: stringoptionalFilter by type of authority
url?: stringoptionalFilter by document URL
uuid?: stringoptionalFilter by UUID. Leave blank to apply no UUID filter.
version?: stringoptionalFilter by version
list_domainsoutputSchema declaredLists the top-level legal domains (id, domain_id, domain name). This is the first taxonomy step. It does not return subdomains, categories, documents, or jurisdictions. When to use: When you need the domain list or a name match. Examples: 'what legal domains exist?', 'find the domain for private law'. Pass domain only to narrow by name. When not: Do not use this for children of a domain. For subdomains use list_subdomains with the returned domain_id. For categories use list_categories. For subcategories use list_subcategories. For law types use list_law_types. For documents use list_documents
Input
domain?: string, limit?: number, next_id?: numberdomain?: stringoptionalFilter by domain name
limit?: numberoptionalNumber of results to return
next_id?: numberoptionalNext ID to paginate the results
list_full_textoutputSchema declaredReturns the plain-text body of documents (id, uuid, version, text). This is the plain-text read: wording only, with no Markdown headings or lists, and no citation metadata. When to use: When you need the body as plain text. Examples: 'quote the operative wording of this Belgian statute', 'give me the raw text of uuid …'. Pass uuid when you already have one document; otherwise filter by title and paginate. When not: For structured Markdown that keeps headings and lists, use list_markdown. For a complete citation bundle in one call — metadata, permanent legal link, citation template, body, and a
Input
crawling_date?: string, date_of_enactment?: string, effective_date?: string, expiration_date?: string, include_total?: boolean, is_repealed?: boolean, iso: string, lang?: string, last_amendment?: string, last_updated?: string, limit?: integer, next_id?: number, portal?: string, portal_id?: number, publication_date?: string, status?: string, title?: string, url?: string, uuid?: string, with_empty_data?: booleancrawling_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
date_of_enactment?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
effective_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
expiration_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
include_total?: booleanoptionalInclude total count in response
is_repealed?: booleanoptionalFilter by repealed documents. default value is false
iso: stringrequiredFilter by Jurisdiction ISO code (e.g. 'US')
lang?: stringoptionalExact portal language name, for example English. Filters the portal, not the document language.
last_amendment?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
last_updated?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
limit?: integeroptionalPage size. Default 20, maximum 100.
next_id?: numberoptionaldocument id of the first row of the next page, from pagination.next_id. Omit on the first page.
portal?: stringoptionalFilter by portal name
portal_id?: numberoptionalFilter by portal ID
publication_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
status?: stringoptionalFilter by document status
title?: stringoptionalFilter by title
url?: stringoptionalFilter by document URL
uuid?: stringoptionalFilter by UUID. Leave blank to apply no UUID filter.
with_empty_data?: booleanoptionalReturn empty data if no full text is found
list_issuing_authoritiesoutputSchema declaredLists the issuing authorities available through this tool, with metadata such as jurisdiction and issuing authority. When to use: When you need issuing authorities for a known iso. Pass optional portal name or issuing authority only to narrow that list. When not: Do not call without an iso from list_jurisdictions. Skip if you already have this issuing authority list for the same iso and filters. Empty data means the iso is outside the subscription, or no issuing authority matched. Parameters: iso (required) is a jurisdiction code from list_jurisdictions (e.g. BE, or US_CA for a state). portal_
Input
iso: string, issuing_authority?: string, limit?: number, next_id?: number, portal_name?: stringiso: stringrequiredFilter by Jurisdiction ISO code (e.g. 'US')
issuing_authority?: stringoptionalFilter by issuing authority
limit?: numberoptionalNumber of results to return
next_id?: numberoptionalNext issuing authority ID to return
portal_name?: stringoptionalFilter by portal name
list_jurisdictionsoutputSchema declaredList every country and state in the authenticated subscription's Lawstronaut legal corpus (name, iso, type, documents_count) — not the global unfiltered catalog, and not legal documents or full text. When to use: Call FIRST, before any jurisdiction-scoped legal query, so you know which iso codes are valid for this credential. When not: Skip if you already have this list from earlier in the session. Do not use this to fetch documents, markdown, source files, or portals. Parameters: Takes none — invoke with {}. Do not pass iso, country, limit, offset, or other filters; they are not accepted and
Input No parameters
list_law_typesoutputSchema declaredLists law types under one subcategory, with the parent category and subcategory names. This is the last taxonomy step. It does not return documents. When to use: When you already have a subcategory_id from list_subcategories. Examples: 'law types under subcategory A.1.1.1', 'find law types named statute'. Pass law_type only to narrow by name. When not: Do not use this to list subcategories, categories, domains, or documents. For those use list_subcategories, list_categories, list_domains, list_documents, or search. Do not call without a subcategory_id from list_subcategories. Skip if you alrea
Input
law_type?: string, limit?: number, next_id?: number, subcategory_id: stringlaw_type?: stringoptionalFilter by law type name
limit?: numberoptionalNumber of results to return
next_id?: numberoptionalNext ID to paginate the results
subcategory_id: stringrequiredFilter by Subcategory ID
list_markdownoutputSchema declaredReturns the structured Markdown body of documents (id, uuid, version, markdown). Headings and lists stay intact. This is not plain text, not a citation bundle, and not a file URL. When to use: When you need the body as structured Markdown. Examples: 'show this regulation with its article headings', 'give me Markdown I can render for uuid …'. Pass uuid when you already have one document; otherwise filter by title and paginate. When not: For plain text with no Markdown structure, use list_full_text (example: 'quote the operative wording'). For a complete citation bundle in one call — metadata, p
Input
crawling_date?: string, date_of_enactment?: string, effective_date?: string, expiration_date?: string, include_total?: boolean, is_repealed?: boolean, iso: string, lang?: string, last_amendment?: string, last_updated?: string, limit?: integer, next_id?: number, portal?: string, portal_id?: number, publication_date?: string, status?: string, title?: string, url?: string, uuid?: string, with_empty_data?: booleancrawling_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
date_of_enactment?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
effective_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
expiration_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
include_total?: booleanoptionalInclude total count in response
is_repealed?: booleanoptionalFilter by repealed documents. default value is false
iso: stringrequiredFilter by Jurisdiction ISO code (e.g. 'US')
lang?: stringoptionalExact portal language name, for example English. Filters the portal, not the document language.
last_amendment?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
last_updated?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
limit?: integeroptionalPage size. Default 20, maximum 100.
next_id?: numberoptionaldocument id of the first row of the next page, from pagination.next_id. Omit on the first page.
portal?: stringoptionalFilter by portal name
portal_id?: numberoptionalFilter by portal ID
publication_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
status?: stringoptionalFilter by document status
title?: stringoptionalFilter by title
url?: stringoptionalFilter by document URL
uuid?: stringoptionalFilter by UUID. Leave blank to apply no UUID filter.
with_empty_data?: booleanoptionalReturn empty data if no markdown is found
list_portalsoutputSchema declaredLists the source portals available through this tool, with metadata such as jurisdiction and language. A jurisdiction may have multiple portals, including those maintained by regulators or ministries. When to use: When you need portals, legal websites, or sources for a known iso. Pass optional name, tag, or lang only to narrow that list. When not: Do not use this to read a document. For metadata use list_documents. For plain text use list_full_text. For structured Markdown use list_markdown. For a complete citation bundle use evidence_pull. For a temporary source-file URL use document_presigne
Input
advanced_search?: boolean, iso: string, lang?: string, limit?: number, name?: string, next_id?: number, portal_id?: number, portal_tags?: stringadvanced_search?: booleanoptionalAdvanced search enabled
iso: stringrequirediso (required) is a jurisdiction code from list_jurisdictions (e.g. BE, or US_CA for a state).
lang?: stringoptionalExact language name, e.g. English
limit?: numberoptionalNumber of portals to return
name?: stringoptionalCase-insensitive substring of the portal name
next_id?: numberoptionalNext portal ID to return
portal_id?: numberoptionalPortal ID
portal_tags?: stringoptionalExact portal tag; the portal must include this tag
list_subcategoriesoutputSchema declaredLists subcategories under one category (id, category_id, category_name, subcategory_id, subcategory_name). This is the fourth taxonomy step. When to use: When you already have a category_id from list_categories. Examples: 'subcategories of category A.1.1', 'find the Jurisdiction subcategory'. Pass subcategory_name only to narrow by name. When not: Do not use this for law types; use list_law_types with the returned subcategory_id. For categories use list_categories. For domains or subdomains use list_domains or list_subdomains. For documents use list_documents or search. Do not call without a c
Input
category_id: string, limit?: number, next_id?: number, subcategory_name?: stringcategory_id: stringrequiredFilter by Category ID
limit?: numberoptionalNumber of results to return
next_id?: numberoptionalNext ID to paginate the results
subcategory_name?: stringoptionalFilter by subcategory name
list_subdomainsoutputSchema declaredLists subdomains under one domain (id, domain_id, subdomain_id, subdomain name). This is the second taxonomy step. When to use: When you already have a domain_id from list_domains. Examples: 'subdomains under domain A', 'international law under Private law'. Pass subdomain only to narrow by name. When not: Do not call without a domain_id from list_domains; use list_domains first. For categories under a subdomain use list_categories with subdomain_id. For subcategories use list_subcategories. For law types use list_law_types. For documents use list_documents or search. Skip if you already have
Input
domain_id: string, limit?: number, next_id?: number, subdomain?: stringdomain_id: stringrequiredFilter by Domain ID
limit?: numberoptionalNumber of results to return
next_id?: numberoptionalNext ID to paginate the results
subdomain?: stringoptionalFilter by subdomain name
searchoutputSchema declaredSearches legal documents using OpenSearch to discover relevant documents based on the supplied search criteria. Returns matching documents and their available metadata. When to use: Use when you need to discover relevant legal documents through search, especially when looking for documents matching a search query rather than retrieving a structured list. Use this to explore legal content relevant to a topic, legal issue, phrase, or other supported search criteria. When not: Do not use this to browse with structured filters and cursor pagination; use list_documents. Do not use it to read a body
Input
crawling_date?: string, date_of_decision?: string, date_of_enactment?: string, effective_date?: string, expiration_date?: string, file_data_only?: boolean, include_total?: boolean, is_repealed?: boolean, iso: string, issuing_authority?: string, issuing_authority_tags?: array, keyword?: string, lang?: string, last_amendment?: string, last_updated?: string, limit?: integer, next_id?: number, portal?: string, portal_id?: number, publication_date?: string, source_identifier?: string, source_secondary_identifier?: string, status?: string, tag?: string, type_of_authority?: string, url?: string, uuid?: string, version?: stringcrawling_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
date_of_decision?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
date_of_enactment?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
effective_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
expiration_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
file_data_only?: booleanoptionalFilter by file data only
include_total?: booleanoptionalInclude total count in response
is_repealed?: booleanoptionalFilter by repealed documents. default value is false
iso: stringrequiredFilter by Jurisdiction ISO code (e.g. 'US')
issuing_authority?: stringoptionalFilter by issuing authority
issuing_authority_tags?: arrayoptionalFilter by issuing authority tags
keyword?: stringoptionalSearch text matched against the heading and the body. Example: '29 CFR 825.500 retention period'. Omit it to list by filters only, newest document id first.
lang?: stringoptionalExact portal language name, for example English. Filters the portal, not the document language.
last_amendment?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
last_updated?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
limit?: integeroptionalPage size. Default 20, maximum 100.
next_id?: numberoptionaldocument id of the first row of the next page, from pagination.next_id. Omit on the first page.
portal?: stringoptionalFilter by portal name
portal_id?: numberoptionalFilter by portal ID
publication_date?: stringoptionalYYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.
source_identifier?: stringoptionalFilter by source identifier
source_secondary_identifier?: stringoptionalFilter by secondary source identifier
status?: stringoptionalFilter by document status
tag?: stringoptionalFilter by tag
type_of_authority?: stringoptionalFilter by type of authority
url?: stringoptionalFilter by document URL
uuid?: stringoptionalFilter by UUID. Leave blank to apply no UUID filter.
version?: stringoptionalFilter by version