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 guide

Connection 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

Authorization setup

bearer token required

Use the publisher-documented bearer token route. Keep the credential in protected client storage and replace only the named placeholder at connection time.

Safe header template: Bearer <LAWSTRONAUT_TOKEN>. Replace only the named placeholder in protected client configuration.

Publisher documentation

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.
MCP client

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.json on Windows), serverUrl or url
  • 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

ClientStatusWhy
Claude CodeSupportedClaude Code supports Streamable HTTP servers and bearer-token headers or OAuth sign-in.
CodexSupportedCodex supports Streamable HTTP servers and bearer-token headers or OAuth sign-in.
CursorSupportedCursor supports Streamable HTTP servers and bearer-token headers or OAuth sign-in.
VS CodeSupportedVS Code supports Streamable HTTP servers and bearer-token headers or OAuth sign-in.
ClaudeSupportedClaude supports Streamable HTTP servers and bearer-token headers or OAuth sign-in.
Claude DesktopSupportedClaude Desktop supports Streamable HTTP servers and bearer-token headers or OAuth sign-in.
ChatGPTSupportedChatGPT supports Streamable HTTP servers and bearer-token headers or OAuth sign-in.
WindsurfSupportedWindsurf supports Streamable HTTP servers and bearer-token headers or OAuth sign-in.
Gemini CLISupportedGemini CLI supports Streamable HTTP servers and bearer-token headers or OAuth sign-in.
MCP SDKSupportedMCP 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.

Similar servers

  • FlickDirect Connect: Movie MCP Server — Read-only movie MCP server for FlickDirect movie and TV facts, available country dates and ratings, site-wide news and review previews, podcasts, streaming and deals. Free access with no authentication. No authentication
  • getAbstract — Search getAbstract summaries of business books, articles and reports. OAuth 2.1
  • The Old Ways Library — Public, read-only search and cited passages from historical editions and mythology reference pages across five traditions. No account or API key required. No authentication
  • Folklore Clinical Variant Interpretation MCP — Offers 11 public tools for ACMG/AMP germline variant classification, gene profiles, disease associations and literature. An optional Folklore Bearer API key adds 18 tools for case analysis, approved source files and reports. No authentication
  • MaCalculatrice (macalc) — Calculators from macalculatriceenligne.com as MCP tools: tax, salary, real estate, maths, health and unit conversions for France and other French-speaking countries. Each result links to the related page of the site. No authentication. No authentication
  • 链小知区块链 — Eight read-only tools for Chinese-language blockchain knowledge, tool guides, recent news (seven-day search window), event timelines and daily briefs, with source links. Anonymous Streamable HTTP; no API key or authentication. No authentication

Guides for this server

Watch this server for breaking changes

Share and embed

Maintain Lawstronaut? Embed this badge in your README. It follows the latest catalog validation result and links to this server profile.

mcptest.io: ready

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 declared

    Returns 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: string
    • uuid: stringrequired

      UUID

  • document_versionoutputSchema declared

    Retrieves 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: integer
    • uuid: stringrequired

      UUID

    • version: integerrequired

      Version

  • evidence_pulloutputSchema declared

    Returns 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: string
    • include_source_url?: booleanoptional

      Fetch a temporary signed URL to the original file (PDF etc.) where available (default True).

    • include_text?: booleanoptional

      Fetch the full body (default True)

    • iso: stringrequired

      Document's jurisdiction ISO code, e.g. 'IE', 'NL', 'US', etc.

    • text_format?: stringoptional

      'markdown' (preserves structure) or 'plain'.

    • uuid: stringrequired

      Document's UUID

  • health_checkoutputSchema declared

    Verify 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 declared

    Scans 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 | string
    • date_field?: stringoptional

      Which 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?: booleanoptional

      If false, drop documents where repealed=true

    • iso: stringrequired

      One ISO code e.g. "IE", "NL", "US", etc.

    • issuing_authority?: null | stringoptional

      Optional filter on issuing authority

    • max_per_jurisdiction?: integeroptional

      Max docs to return per jurisdiction (1-100)

    • since?: stringoptional

      Freshness window. "yesterday", "today", "Nd"/"Nh"/"Nw" (e.g. "7d"), or ISO date "YYYY-MM-DD"

    • status?: null | stringoptional

      Optional filter on status field e.g. "new", "updated" String.

    • topic?: null | stringoptional

      Optional filter (matches title) e.g. "employee monitoring" or "workplace surveillance"

    • type_of_authority?: null | stringoptional

      Optional filter on type of authority

  • list_authority_typesoutputSchema declared

    Lists 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?: string
    • authority_type?: stringoptional

      Filter by authority type

    • iso: stringrequired

      Filter by Jurisdiction ISO code (e.g. 'US')

    • limit?: numberoptional

      Number of results to return

    • next_id?: numberoptional

      Next portal ID to return

    • portal_name?: stringoptional

      Filter by portal name

  • list_categoriesoutputSchema declared

    Lists 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?: string
    • category_name?: stringoptional

      Filter by category name

    • limit?: numberoptional

      Number of results to return

    • next_id?: numberoptional

      Next ID to paginate the results

    • subdomain_id?: stringoptional

      Filter by Subdomain ID

  • list_documentsoutputSchema declared

    Lists 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?: string
    • crawling_date?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • date_of_decision?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • date_of_enactment?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • effective_date?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • expiration_date?: stringoptional

      YYYY-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?: booleanoptional

      Include total count in response

    • is_repealed?: booleanoptional

      Filter by repealed documents. default value is false

    • iso: stringrequired

      Filter by Jurisdiction ISO code (e.g. 'US')

    • issuing_authority?: stringoptional

      Filter by issuing authority

    • issuing_authority_tags?: arrayoptional

      Filter by issuing authority tags

    • lang?: stringoptional

      Exact portal language name, for example English. Filters the portal, not the document language.

    • last_amendment?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • last_updated?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • limit?: integeroptional

      Page size. Default 20, maximum 100.

    • next_id?: numberoptional

      document id of the first row of the next page, from pagination.next_id. Omit on the first page.

    • portal?: stringoptional

      Filter by portal name

    • portal_id?: numberoptional

      Filter by portal ID

    • publication_date?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • section_title?: stringoptional

      Filter by section title

    • source_identifier?: stringoptional

      Filter by source identifier

    • source_secondary_identifier?: stringoptional

      Filter by secondary source identifier

    • status?: stringoptional

      Filter by document status

    • tag?: stringoptional

      Filter by portal tag

    • title?: stringoptional

      Filter by title

    • type_of_authority?: stringoptional

      Filter by type of authority

    • url?: stringoptional

      Filter by document URL

    • uuid?: stringoptional

      Filter by UUID. Leave blank to apply no UUID filter.

    • version?: stringoptional

      Filter by version

  • list_domainsoutputSchema declared

    Lists 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?: number
    • domain?: stringoptional

      Filter by domain name

    • limit?: numberoptional

      Number of results to return

    • next_id?: numberoptional

      Next ID to paginate the results

  • list_full_textoutputSchema declared

    Returns 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?: boolean
    • crawling_date?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • date_of_enactment?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • effective_date?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • expiration_date?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • include_total?: booleanoptional

      Include total count in response

    • is_repealed?: booleanoptional

      Filter by repealed documents. default value is false

    • iso: stringrequired

      Filter by Jurisdiction ISO code (e.g. 'US')

    • lang?: stringoptional

      Exact portal language name, for example English. Filters the portal, not the document language.

    • last_amendment?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • last_updated?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • limit?: integeroptional

      Page size. Default 20, maximum 100.

    • next_id?: numberoptional

      document id of the first row of the next page, from pagination.next_id. Omit on the first page.

    • portal?: stringoptional

      Filter by portal name

    • portal_id?: numberoptional

      Filter by portal ID

    • publication_date?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • status?: stringoptional

      Filter by document status

    • title?: stringoptional

      Filter by title

    • url?: stringoptional

      Filter by document URL

    • uuid?: stringoptional

      Filter by UUID. Leave blank to apply no UUID filter.

    • with_empty_data?: booleanoptional

      Return empty data if no full text is found

  • list_issuing_authoritiesoutputSchema declared

    Lists 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?: string
    • iso: stringrequired

      Filter by Jurisdiction ISO code (e.g. 'US')

    • issuing_authority?: stringoptional

      Filter by issuing authority

    • limit?: numberoptional

      Number of results to return

    • next_id?: numberoptional

      Next issuing authority ID to return

    • portal_name?: stringoptional

      Filter by portal name

  • list_jurisdictionsoutputSchema declared

    List 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 declared

    Lists 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: string
    • law_type?: stringoptional

      Filter by law type name

    • limit?: numberoptional

      Number of results to return

    • next_id?: numberoptional

      Next ID to paginate the results

    • subcategory_id: stringrequired

      Filter by Subcategory ID

  • list_markdownoutputSchema declared

    Returns 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?: boolean
    • crawling_date?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • date_of_enactment?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • effective_date?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • expiration_date?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • include_total?: booleanoptional

      Include total count in response

    • is_repealed?: booleanoptional

      Filter by repealed documents. default value is false

    • iso: stringrequired

      Filter by Jurisdiction ISO code (e.g. 'US')

    • lang?: stringoptional

      Exact portal language name, for example English. Filters the portal, not the document language.

    • last_amendment?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • last_updated?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • limit?: integeroptional

      Page size. Default 20, maximum 100.

    • next_id?: numberoptional

      document id of the first row of the next page, from pagination.next_id. Omit on the first page.

    • portal?: stringoptional

      Filter by portal name

    • portal_id?: numberoptional

      Filter by portal ID

    • publication_date?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • status?: stringoptional

      Filter by document status

    • title?: stringoptional

      Filter by title

    • url?: stringoptional

      Filter by document URL

    • uuid?: stringoptional

      Filter by UUID. Leave blank to apply no UUID filter.

    • with_empty_data?: booleanoptional

      Return empty data if no markdown is found

  • list_portalsoutputSchema declared

    Lists 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?: string
    • advanced_search?: booleanoptional

      Advanced search enabled

    • iso: stringrequired

      iso (required) is a jurisdiction code from list_jurisdictions (e.g. BE, or US_CA for a state).

    • lang?: stringoptional

      Exact language name, e.g. English

    • limit?: numberoptional

      Number of portals to return

    • name?: stringoptional

      Case-insensitive substring of the portal name

    • next_id?: numberoptional

      Next portal ID to return

    • portal_id?: numberoptional

      Portal ID

    • portal_tags?: stringoptional

      Exact portal tag; the portal must include this tag

  • list_subcategoriesoutputSchema declared

    Lists 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?: string
    • category_id: stringrequired

      Filter by Category ID

    • limit?: numberoptional

      Number of results to return

    • next_id?: numberoptional

      Next ID to paginate the results

    • subcategory_name?: stringoptional

      Filter by subcategory name

  • list_subdomainsoutputSchema declared

    Lists 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?: string
    • domain_id: stringrequired

      Filter by Domain ID

    • limit?: numberoptional

      Number of results to return

    • next_id?: numberoptional

      Next ID to paginate the results

    • subdomain?: stringoptional

      Filter by subdomain name

  • searchoutputSchema declared

    Searches 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?: string
    • crawling_date?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • date_of_decision?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • date_of_enactment?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • effective_date?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • expiration_date?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • file_data_only?: booleanoptional

      Filter by file data only

    • include_total?: booleanoptional

      Include total count in response

    • is_repealed?: booleanoptional

      Filter by repealed documents. default value is false

    • iso: stringrequired

      Filter by Jurisdiction ISO code (e.g. 'US')

    • issuing_authority?: stringoptional

      Filter by issuing authority

    • issuing_authority_tags?: arrayoptional

      Filter by issuing authority tags

    • keyword?: stringoptional

      Search 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?: stringoptional

      Exact portal language name, for example English. Filters the portal, not the document language.

    • last_amendment?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • last_updated?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • limit?: integeroptional

      Page size. Default 20, maximum 100.

    • next_id?: numberoptional

      document id of the first row of the next page, from pagination.next_id. Omit on the first page.

    • portal?: stringoptional

      Filter by portal name

    • portal_id?: numberoptional

      Filter by portal ID

    • publication_date?: stringoptional

      YYYY-MM-DD, or a range YYYY-MM-DD-to-YYYY-MM-DD. Leave blank to apply no date filter.

    • source_identifier?: stringoptional

      Filter by source identifier

    • source_secondary_identifier?: stringoptional

      Filter by secondary source identifier

    • status?: stringoptional

      Filter by document status

    • tag?: stringoptional

      Filter by tag

    • type_of_authority?: stringoptional

      Filter by type of authority

    • url?: stringoptional

      Filter by document URL

    • uuid?: stringoptional

      Filter by UUID. Leave blank to apply no UUID filter.

    • version?: stringoptional

      Filter by version