PHL / PRIMARY LEGAL SOURCES
MCP ACCESS
KEY GATED

01 Streamable HTTP · authenticated beta

Philippine law,
inside your workflow.

Connect your MCP-capable tools to published Philippine legal materials, with stable document IDs, exact supporting passages, and explicit source provenance.

Primary sources first Paragraph-level evidence No mutation tools
TRANSPORTStreamable HTTPACCESSAPI key · read-onlyTOOLSsearch + fetchPROVENANCEOfficial / approved mirrorTREATMENTNot analyzed
02

CONNECT MCP

One endpoint, two tools

Add primary law
to your AI workflow.

PH Legal MCP is a safe retrieval layer for MCP-capable clients. It exposes published material only; never ingestion, Admin, OCR, private records, or mutation operations.

  1. 01

    Generate your MCP API key

    Create one device-linked key below, then copy it while the full value is visible.

  2. 02

    Add the PH Legal endpoint

    Choose a remote or Streamable HTTP MCP server in your client and use the URL shown here.

  3. 03

    Send the bearer key

    Add X-Mcp-Subscription-Key: YOUR_KEY to the MCP server configuration.

  4. 04

    Ask, inspect, verify

    Search first, fetch the needed paragraphs, then follow the official source before relying on the result.

REMOTE MCP CONFIG
{
  "servers": {
    "ph-legal": {
      "type": "http",
      "url": "https://phlegal-mcp-xb5xixe3menso-fef8ewh4c7g3gag8.z03.azurefd.net/mcp",
      "headers": {
        "X-Mcp-Subscription-Key": "USER_GENERATED_KEY"
      }
    }
  }
}
Authentication
Anonymous or subscription key
Write access
Disabled
Data surface
Published corpus only
Expected tools
search, fetch
Client support varies. Use a client that accepts remote Streamable HTTP MCP servers.
03

MCP TOOLS

Deliberately narrow

Search broadly.
Fetch precisely.

The authenticated MCP contract is intentionally limited. Search returns identifiers, safe snippets, paragraph references, metadata, and provenance. Fetch returns a bounded selection of one immutable published document.

Tool contract

Find published Philippine legal materials

Search by natural-language issue, doctrine, phrase, party, docket number, law number, or fact pattern.

query
string · required
limit
integer · 1–20
type
case, law, constitution, rule, issuance
taxonomy
controlled topic family
TOOLS/CALL
{
  "name": "search",
  "arguments": {
    "query": "psychological incapacity",
    "limit": 5
  }
}
RETURNS

Stable IDs · titles · safe snippets · paragraph IDs · citation IDs · metadata · source provenance

01 Ask a legal research question02 search for authorities03 Inspect provenance04 fetch exact passages05 Verify official source
04

WORKFLOWS

Context where work happens

Research without
breaking your flow.

Use PH Legal as a retrieval component inside the tools your team already works in. It supplies source-grounded context; the researcher remains responsible for legal judgment and verification.

01 / COUNSEL

Draft with authorities in view

Find cases and statutory text while preparing advice, pleadings, or an internal opinion. Fetch exact passages before incorporating a proposition.

  • Issue and fact-pattern search
  • Paragraph-level support
  • Official-source follow-through
02 / RESEARCH

Build an evidence trail

Locate a leading authority, inspect its metadata, then retrieve only the passages needed for deeper review or a research log.

  • Stable document IDs
  • Docket and law-number lookup
  • Explicit source provenance
03 / LEGAL OPS

Ground repeatable workflows

Add controlled Philippine legal retrieval to internal assistants and review processes without exposing PH Legal’s operational systems.

  • Authenticated read-only contract
  • Two predictable tools
  • No private corpus access
Important boundary

PH Legal MCP retrieves published material. It does not provide legal advice, determine whether a case remains good law, perform subsequent-treatment analysis, or replace independent professional review.

05

CORPUS PREVIEW

MCP-shaped research preview

See what the tools
are designed to return.

Explore the website’s current sample set. Production coverage is expanding and should not be treated as complete for every court, date range, material type, or jurisdiction.

1 recordssample set
Case1997-02-13

Fetch preview · ph-case-09:p1

Republic v. Molina

G.R. No. 108763, February 13, 1997

A leading decision on psychological incapacity under Article 36 of the Family Code and its evidentiary treatment.

Document ID
ph-case-09
Source
Supreme Court E-Library
Taxonomy
family.annulment_nullity
Treatment
Not analyzed
Prototype record. Confirm text, currency, and official status against the linked government source.
06

SOURCE SYSTEM

Source to evidence

Grounded by design,
not by promise.

The MCP surface consumes a controlled projection of approved material. The research path is designed to remain traceable from a tool result back to an identified passage and source.

01

Collect

Preserve official or approved-source material, revision metadata, and checksums.

02

Normalize

Assign stable document, paragraph, and chunk identifiers to extracted legal text.

03

Enrich

Add controlled taxonomy and evidence-linked machine-generated digests where supported.

04

Publish

Expose only approved, current records through controlled public projections.

05

Retrieve

Serve exact, lexical, semantic, vector, or hybrid retrieval as index support allows.

Initial coverage

Philippine primary law

  • Supreme Court decisions and signed resolutions
  • Republic Acts
  • The 1987 Constitution
  • Current Rules of Court
  • Selected executive issuances

Product principles

Primary sources firstPreserve a path to the original whenever available.
Traceable researchPoint results and answers back to documents and paragraphs.
No false certaintySurface missing support instead of filling gaps.
Researcher in controlAcceleration and evidence organization, not legal judgment.
07

MCP ACCESS

Account-owned credentials

Manage your
MCP keys securely.

Sign in with Entra External ID, create a separate key for each MCP client, and rotate or revoke access from one account portal.

REGULAR TIERENTRA ACCOUNT / APIM SUBSCRIPTION
One portal, every client

Raw keys are shown once. The website stores ownership and status metadata only.

08

PRODUCT

The current PH Legal product

One MCP surface.
A disciplined contract.

PH Legal currently supports MCP only. The product is intentionally centered on a small, authenticated, read-only retrieval contract that works inside MCP-capable workflows.

01 / CONNECT

Authenticated access

Connect through one Streamable HTTP endpoint using the API key generated on this site.

Get MCP key →
02 / DISCOVER

Search the corpus

Use one predictable tool to locate authorities, stable identifiers, snippets, metadata, and provenance.

Inspect search →
03 / VERIFY

Fetch evidence

Retrieve bounded source passages, then follow the source record before relying on the material.

Review sources →