proofread.law

v0.3.0
io.github.Data-Alchemy-Labs/proofread-mcp Checked 18 hours ago Published 2 months ago

Check US and Swiss case citations against open registers of court opinions, from any MCP client.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_citations Check legal citations in text

Check every case citation in a text against proofread.law's register of about 10 million US court opinions (CourtListener bulk data). Use it on a draft brief, memo, letter or any prose that cites cases, before the citations are relied on. Returns the coverage statement, counts per tier, one line per row that needs a human (red = check this: the register holds something concrete that disagrees, such as a different case at that citation or quoted words not in the opinion; orange = cannot verify: nothing to check against, such as a Westlaw/Lexis identifier or a volume newer than the register), th…

ParameterTypeDescription
text *stringThe text to check, as written (paragraphs, footnotes, a whole brief). Pasted text is fine.
deepbooleanAlso check whether each cited opinion supports the sentence it is cited for. Slower, opt-in, 3 per month on the free tier.

check_document Check legal citations in a file

Check every case citation in a document on disk (PDF, DOCX, TXT or Markdown, up to 10 MB) against proofread.law's register of about 10 million US court opinions. The file is read here and uploaded to proofread.law, which extracts the text in memory, checks it and discards it. Returns the same compact result as check_citations: coverage statement, counts per tier, one line per red (check this) or orange (cannot verify) row, the number of citations found, and a report id for render_report. Scanned PDFs without a text layer, encrypted PDFs and legacy .doc files cannot be read; .docx needs a paid…

ParameterTypeDescription
path *stringAbsolute path to a .pdf, .docx, .txt or .md file on this machine.
deepbooleanAlso check whether each cited opinion supports the sentence it is cited for. Slower, opt-in, 3 per month on the free tier.

resolve_citation Look up one citation in the register

Look up a single case citation (for example '590 U.S. 644', or 'Bostock v. Clayton County, 590 U.S. 644 (2020)') in proofread.law's register and answer: is there a case at this citation, which one (name, court, date, parallel citations, link), and how complete the register is for that volume. This is a register lookup of the citation, not a comparison with the case name you have: if the case it returns is not the one you expected, the citation points elsewhere. Statuses: found; ambiguous (several entries, candidates listed); not in the register (a register fact with a coverage qualifier, never…

ParameterTypeDescription
citation *stringOne citation string. A case name and year around it are fine; only the reporter citation is resolved.

resolve_citations Look up a list of citations in the register

Look up up to 500 case citation strings in proofread.law's register in one call and get one line per citation, in input order: found (the case, court, date, link), ambiguous, not in the register (a register fact with a coverage qualifier, never proof that the case does not exist), cannot verify (Westlaw/Lexis identifier, or a volume the register cannot see yet), known citation, or no citation recognised. Use it for a table of authorities or any list of citations you already have; use check_citations for prose (it also checks names and quotations). Cannot: resolve Westlaw (WL) or Lexis identifi…

ParameterTypeDescription
cites *arrayCitation strings, one per entry, up to 500.

coverage What proofread.law checks against

The coverage statement (which opinions the register holds, its date, its known gaps, what is not checked: Westlaw/Lexis identifiers, statutes, regulations, secondary sources) and the storage notice (a checked text is not stored; only a brief the user saves with save_brief is kept, encrypted in their account). Pass jurisdiction 'ch' for the Swiss register instead (BGE/ATF/DTF, Federal Supreme Court dockets, the federal courts and the 26 cantons), which also lists the courts held and the share of the live index each covers. Call it when a user asks what the check covers, how current it is, or wh…

ParameterTypeDescription
jurisdictionstringWhich register to describe. Default 'us'. 'ch' for Swiss case law.

render_report Render a check as a markdown report

Turn a finished check into a markdown diligence report: header, coverage and storage notices, a summary table sorted check-this, cannot-verify, support, found, and a detail block per flagged row with the register evidence. Use it when the user wants a report to keep or attach to the file, or when the compact result was cut short. Pass the report_id returned by check_citations or check_document (ids live in this server's memory until it exits), or the full report JSON from proofread.law's /verify endpoint. Free, not counted.

ParameterTypeDescription
reportobjectA full report JSON as returned by POST /verify, if you have one instead of an id.
report_idstringThe 'Report id' from a previous check_citations or check_document result.

suggest_cases Suggest leading Swiss cases for a statute article

Swiss law only. Give a Swiss federal statute article ('Art. 41 OR', 'art. 41 CO', 'Art. 8 ZGB', 'art. 9 Cst.') or a paragraph that cites one, and get the leading Federal Supreme Court cases (BGE/ATF/DTF) the court cites with that article, as cases to read. The query needs a statute article: there is no free-text search, and a query without one answers that no article was recognised. Federal acts only; cantonal law is not covered. The answer is one ranked list, each case labelled with its field of law; the domain filter keeps the same order within one field. Each row has the citation, date, fie…

ParameterTypeDescription
query *stringA Swiss federal statute article, e.g. 'Art. 41 OR' or 'art. 9 Cst.', or a paragraph that cites one (up to 20,000 characters).
domainstringOnly this field of law (civil, criminal, public or social), in the same order as the full list. Default all.
kintegerNumber of rows, 1 to 50. Default 10.
langstringThe answer's language: de, fr, it or en. Default: the query's language.

save_brief Save a brief to the account and check it

Save a brief (or any draft that cites cases) to the user's proofread.law account and check its citations in the same call. Use it when the user asks to keep a draft and come back to it, or to start the edit-and-recheck loop: save once, then after each round of edits call update_brief with the id. Returns the brief id, the coverage statement, counts per tier, one line per row that needs attention (red = check this: the register holds something concrete that disagrees; orange = cannot verify: nothing to check against, not evidence either way), and a report id for render_report. Only call it when…

ParameterTypeDescription
text *stringThe full text of the brief, as written (paragraphs, footnotes, the whole draft).
titlestringA name the user will recognise in list_briefs, e.g. 'Motion to dismiss, Smith v. Jones'.

list_briefs List the saved briefs

List the briefs saved in the user's proofread.law account: id, title, when each was last saved and checked, the number of citations, the counts per tier from its latest check, and the number of versions kept. Use it to find a brief's id when the user refers to a draft by name, before get_brief, update_brief or delete_brief. It only reads: this tool saves nothing and runs no check. Saving is opt-in: nothing is saved unless save_brief or update_brief is called (check_citations and check_document never save anything). A saved brief is stored encrypted in the user's proofread.law account until del…

get_brief Get a saved brief and its latest report

Get one brief saved in the user's proofread.law account: its saved text, the latest report (coverage statement, counts per tier, the rows that need attention, a report id for render_report) and the versions kept. Use it to pick up where the user left off, or to get the exact saved text before editing it for update_brief. include_text=false returns the report without the text (a long brief is long). Pass version to read an earlier version's text and counts instead of the latest. It only reads: this tool saves nothing and runs no check. Saving is opt-in: nothing is saved unless save_brief or upd…

ParameterTypeDescription
id *stringThe brief id from save_brief or list_briefs.
include_textbooleanReturn the saved text (default true). false returns only the report.
versionintegerAn earlier version number from the versions list; omit for the latest.

update_brief Save an edited brief and re-check it

Save an edited version of a brief saved in the user's proofread.law account and re-check it. This is the loop for fixing flagged citations: edit the text (the citation, case name or quotation a row points at, or take the citation out), call update_brief with the whole edited text, and read the changes: which flags were resolved (flagged before, not flagged now), which flags are new, how many rows are unchanged, and then every row that still needs attention. Repeat until every remaining row has been reviewed by the user. Send the full text, not a diff or an excerpt: it becomes the latest versio…

ParameterTypeDescription
id *stringThe brief id from save_brief or list_briefs.
recheckbooleanRe-run the check on the saved text without editing it, e.g. after the register was updated.
textstringThe whole edited text of the brief. It replaces the latest version; the previous one is kept.
titlestringA new name for the brief.

delete_brief Permanently delete a saved brief

Permanently delete a brief and all its saved versions from the user's proofread.law account. The deletion is permanent: it cannot be undone and the text cannot be recovered afterwards. Only call it when the user asks to delete that brief; if the id is in any doubt, confirm it with list_briefs first. Deleting runs no check. Saving is opt-in: nothing is saved unless save_brief or update_brief is called (check_citations and check_document never save anything). A saved brief is stored encrypted in the user's proofread.law account until delete_brief removes it, and needs an API key (PROOFREAD_API_K…

ParameterTypeDescription
id *stringThe id of the brief to delete, from save_brief or list_briefs.

sign_up Create a proofread.law account and API key

Open a proofread.law account for its owner and get an API key, in one call (POST /agent/signup). Use it when the user wants their own quota instead of the anonymous per-IP free tier, or before billing_link. The email must be the account OWNER's real inbox (placeholder domains are rejected); the owner receives one confirmation email and nothing else. The key is shown once: this server adopts it for the rest of this session, and the user should put it in PROOFREAD_API_KEY in their MCP configuration so it survives a restart. Never send the key anywhere but proofread.law. Calling again with the sa…

ParameterTypeDescription
agent_name *stringA name for this agent or client (1 to 64 characters: letters, digits, spaces, dots, hyphens, underscores), e.g. 'Claude Desktop'.
email *stringThe account owner's real email address. Ask the user for it; do not invent one.