Using Delphi
Delphi gives Claude, ChatGPT and other assistants direct access to Canadian law. It holds about 1.7 million English-language court and tribunal decisions and statutes from every province and territory outside Quebec and from the federal courts and the Supreme Court of Canada. Every passage comes with its paragraph pinpoint, and every case comes with the decisions that later cited it.
Delphi is a research tool. It does not give legal advice.
Connect
Claude. Settings, then Connectors. Find Delphi and choose Connect, then sign in to your Delphi account.
ChatGPT. Settings, then Apps. Find Delphi and choose Connect, then sign in to your Delphi account.
Claude Code, Cursor and other clients. Add the server https://delphi-mcp.com/mcp. The client opens a browser to sign you in.
A Delphi subscription is required. You can see your plan and your connected assistants on your account page.
What you can ask
- Find the law. "What is the test for an interlocutory injunction in Canada? Give me the leading case and the paragraph that states it."
- Check a case. "Is Bardal v. Globe & Mail Ltd. still good law, and how have the courts treated it?"
- Read a statute. "Show me section 2(b) of the Canadian Charter of Rights and Freedoms and the cases that apply it most often."
- Read a statute as it was. "What did section 255 of the Criminal Code say on 1 January 2008, and what changed by 2017?"
- Verify a draft. Paste a memo or factum and ask the assistant to check every citation. Delphi confirms each authority exists, checks quotations against the text, flags negative treatment, and gives the corrected citation.
- See patterns. "How often do judicial reviews succeed at the Federal Court of Appeal since Vavilov?" or "What damages have courts awarded for wrongful dismissal of a ten-year manager?"
- Screen many cases (experimental). Ask one question of up to 1,000 decisions, such as which of them granted an adjournment. Treat every answer as a pointer to read, not a finding.
Tool reference
Delphi's MCP server is https://delphi-mcp.com/mcp (Streamable HTTP, JSON-RPC 2.0). Every request needs a credential: an OAuth access token from the sign-in, or a Delphi API key, sent as Authorization: Bearer ....
Read or Write. Only report_feedback writes data: it stores a problem report with your account. Every other tool only reads Delphi's corpus. screen keeps its result set in server memory for 24 hours (a server restart also removes it), so that screen_status and screen_export can read it. For that reason screen and screen_document carry readOnlyHint: false. They change no data.
| Tool | Read or Write | Inputs | Output | Side effects |
|---|---|---|---|---|
| search | Read | query (required). Filters: kind, jurisdiction, include_scc, court, date_from, date_to, cites, cited_by, outcome, area_of_law, procedural_posture, area. Also rank_by, limit, cursor | Ranked cases and legislation with paragraph-anchored passages; for a question, the closest principle a court stated, with its pinpoint; the filters applied; a term-match total (counted to 1,000); a cursor | None |
| resolve | Read | query (required: a citation, doc_id or case name), limit | The document, or candidates (highest court first) when the input is unclear | None |
| get_document | Read | doc_id (required); paras, pages, find, view | Metadata, outline and authorities; or the requested paragraphs or report pages with pinpoints; or the blocks that contain find; or a model-written summary (view='summary') | None |
| noteup | Read | doc_id; limit, section, treatment, sort, work | The decisions that cite the case or statute, each with its citing passage and paragraph; good-law status and every negative treatment; for legislation, the most-cited sections | None |
| legislation | Read | query or doc_id; jurisdiction, section, as_of, compare_to | The instrument, its status and version line, one section, and how courts read it. With as_of='YYYY-MM-DD', the version in force on that date. With compare_to, a second date and a diff | None |
| check_document | Read | text (required: the draft) | One line for each citation: PASS, WARNING or FAILURE, with evidence and the corrected citation | None. The draft is not stored |
| analyze | Read | mode (required: xray, flags, test_branches, quantum, facts, review_outcomes, issues or judge) and the inputs of that mode | Statistics and comparables; each entry gives the paragraph to read | None |
| coverage | Read | limit | Totals, the date range of each database, the citation count, and how current the corpus is | None |
| guide | Read | topic | The manual for assistants | None |
| screen | Read | question (required). The cases: query with the search filters, or cites, or set_id with carry. Also options, yes_means, no_means, limit (default 200, maximum 1,000) | An answer for each case (yes, unclear or no, or a category), with an approximate pinpoint range (for example ~paras 43-47~: the matched paragraph plus or minus 2), or a job_id while it runs | Keeps the result set in server memory for 24 hours |
| screen_status | Read | job_id (required) | The progress of a screen, then its answers | None |
| screen_document | Read | doc_id and question (required); yes_means, no_means | The answer for one whole case, with the matching paragraphs; the best match is an approximate range (pinpoint.paras) | None |
| screen_export | Read | job_id (required); format (csv or citations), verdicts, doc_ids | The rows of a finished screen as text, each with its approximate pinpoint range | None |
| report_feedback | Write | observations (required: a list, each with kind (broken, slow, misleading, missing or good) and note) | The number of reports stored | Stores the report with your account. Describe tool behaviour only, never a client, a matter or a draft |
Scopes
| Scope | Gives |
|---|---|
delphi | Every tool |
delphi.read | Every tool except report_feedback, which is hidden from the tool list and refused |
offline_access | A refresh token. Delphi gives one with every sign-in: access tokens last 1 hour, refresh tokens 90 days |
Sign-in uses OAuth 2.1 with PKCE (S256). A client can register by dynamic client registration or with a client ID metadata document (client_id is an https URL).
Errors
| Case | What the client gets |
|---|---|
| No credential, or an expired, revoked or unknown one | HTTP 401, JSON-RPC error -32001, and WWW-Authenticate: Bearer resource_metadata="https://delphi-mcp.com/.well-known/oauth-protected-resource", scope="delphi" (with error="invalid_token" for a bad token). The client starts the sign-in from this header |
| No subscription (a disabled account, or the Free plan is used up) | A tool result with isError: true that names the plan and the date the next free question returns, and _meta["mcp/www_authenticate"] with error="insufficient_scope" |
| Rate limit | JSON-RPC error -32002 "rate limit exceeded", with error.data.retry_after and a Retry-After header (seconds until the next call is accepted) |
| Unknown document | A tool result with "error": "unknown doc_id" (or "unknown doc_id or citation") and a hint to call resolve |
| Bad argument | A tool result with "error". An unknown parameter is refused with the list of accepted parameters: Delphi never ignores a filter. A malformed value is refused with the reason |
| Expired screening job | screen_status or screen_export with an unknown job_id: "unknown job_id. Screens are kept in server memory for 24 hours: a restart of the server (for example a new release) also removes them. Run screen again." |
| Timeout | A search stops after 90 seconds: "search stopped after 90s without a result", with a hint to narrow it. When the server already runs its maximum of slow calls, a slow call waits up to 90 seconds for a place, then answers "Delphi is busy" and searches nothing |
| Unknown method, malformed JSON, server fault | JSON-RPC errors -32601, -32700 and -32000 |
Usage limits
- 120 tool calls per minute for each API key or connection (a 60-second sliding window). Paid plans have no daily limit.
- The Free plan: 10 questions in each rolling 30 days. A question is a run of calls with gaps under 15 minutes, at most 50 calls.
guide,coverageandreport_feedbackdo not count. - Slow tools (
search,legislation,noteup,analyze,check_document,screen,screen_document): the server runs 4 at a time. A call waits up to 90 seconds for a place. searchcounts matching documents to 1,000. A search stops after 90 seconds.- Screening: at most 1,000 cases in one screen (default 200); 2 running screens for each key and 6 on the server; a finished screen is kept for 24 hours.
- A request body can be at most 16 MB.
Limits
- Treatment labels, outcomes, summaries, statistics and screening answers are produced by software. Each points to the passage it rests on. Read that passage before you rely on it.
- A "good" citator status means Delphi detected no negative treatment. It does not prove that no later decision overtook the case.
- For legislation, Delphi holds the current version of each statute and regulation and every past version that was in force on or after 1 January 2005.
legislationwithas_ofgives the version in force on a date. Before 2005, and for a period for which Delphi has no text, Delphi says so and gives no text. Annual statutes are the text as enacted. - Quebec courts and French-only decisions are outside Delphi's coverage.
Troubleshooting
The assistant says Delphi needs a subscription. Check your plan on your account page.
The assistant cites a case Delphi did not return. Ask it to resolve the citation with Delphi and read the paragraph. Assistants can invent citations; Delphi's job is to catch them.
Sign-in fails or loops. Disconnect Delphi in your assistant's settings, connect again, and sign in. If it still fails, write to [email protected].
More help is on the support page.
Claude
Claude opens with Delphi's name and URL filled in.
Add to Claude- Choose Add to Claude. Check that the URL is
https://delphi-mcp.com/mcp. - Choose Add, then Connect.
- Sign in with your Delphi email address.
- In a chat, turn Delphi on from the + menu.
Delphi then works in Claude on the web, the desktop app and the mobile apps.
ChatGPT
ChatGPT has no link that fills in Delphi yet, so it takes a few more steps.
Add to ChatGPT- Choose Add to ChatGPT. It copies Delphi's URL and opens ChatGPT's Plugins page.
- Choose +, then Add custom MCP server.
- Name it Delphi and paste the URL:
https://delphi-mcp.com/mcp. Choose OAuth for sign-in. - Confirm the warning, then choose Create as a plugin.
- Install the plugin and sign in with your Delphi email address.
Add it on chatgpt.com, not in the mobile app. Your workspace's settings decide who can add custom servers.
Other apps
Cursor and VS Code open with Delphi filled in. Confirm, then sign in when the editor asks.
Claude Code. Run this, then type /mcp in a session and sign in:
The connector URL, for any other MCP client: