# Mithril > Ontario law your agent can use: answers with every step cited and a signed receipt, and a licensed Ontario lawyer, Jonathan M. Kleiman (LSO #95128S), when a matter needs one. You can retain Mithril Law for your user. Start with a quote; your user sets up a mandate once. ## If you can only fetch URLs Every tool without personal facts answers at one URL: fetch https://mithril.law/{area}/{tool}.md with the facts as query parameters and you get the answer as markdown, every step cited, with a receipt. If a fact is missing, the answer lists it and gives the URL to fetch next. Tools that need names or addresses say how to proceed instead. - Deadlines after a job ends: https://mithril.law/employment/limitation-dates.md?endDate=2026-09-01&toldDate=2026-08-15 - Severance check: https://mithril.law/employment/severance-check.md?endedHow=let_go_without_cause&endDate=2026-09-01&yearsOfService=10&monthsOfService=11&age=45&role=staff&pay.kind=salary&pay.annualSalary=104000&payroll=yes&hasBenefits=true&terminationClause=no&workingNoticeWeeks=0&massTermination=no&businessClosure=no - Termination clause check: https://mithril.law/employment/termination-clause-check.md (its first lines give a worked example URL) - Is this rent increase lawful?: https://mithril.law/ltb/rent-increase-check.md (its first lines give a worked example URL) - LTB orders by application: https://mithril.law/ltb/outcomes.md?application=L1&alone=false&fromMonth=2026-01&toMonth=2026-06 - Termination date for a notice: https://mithril.law/ltb/termination-date.md?notice=N4&service.method=hand&service.date=2026-09-23&service.emailConsentInWriting=false - Where to incorporate, and what it costs: https://mithril.law/corporate/incorporation-plan.md?operatesIn=ontario_only&founders=1&residentCanadianFounders=1&name=numbered&shareStructure=common_only&raisingMoneySoon=false&shareholderAgreementInPlace=false - Getting a legal aid lawyer for a criminal charge: https://mithril.law/criminal/legal-aid-path.md?hasCertificate=false&inCustody=false&youth=false - How urgent is a criminal matter: https://mithril.law/criminal/intake-triage.md?inCustody=true - Someone was arrested or charged: what happens next: https://mithril.law/criminal/what-happens-next.md?stage=arrested_held&youth=false - Small claims: is it the right court, and where to go: https://mithril.law/small-claims/route.md?side=claimant&amount=8500&category=invoice - How long you have to sue in Ontario: https://mithril.law/help/limitation-period.md?happenedOn=2025-03-15 - Where to start with a legal problem in Ontario: https://mithril.law/help/triage.md?category=arrested_or_charged&area=unknown&inCustody=true These need names or addresses, so they run by POST, MCP or the person's own page (each page says how): - Demand letter: https://mithril.law/employment/demand-letter.md - An N4 for every unit in arrears: https://mithril.law/ltb/n4-bulk.md - Prepare an L1 to evict for non-payment of rent: https://mithril.law/ltb/l1-prepare.md - Prepare an N4 for non-payment of rent: https://mithril.law/ltb/n4-prepare.md - Which LTB application fits a tenant’s problem: https://mithril.law/ltb/tenant-path.md - Incorporation package: https://mithril.law/corporate/incorporation-prepare.md - Issue shares: https://mithril.law/corporate/share-issuance.md - Register of individuals with significant control: https://mithril.law/corporate/isc-register.md - The year’s resolutions and annual return: https://mithril.law/corporate/annual-maintenance.md - Open a small claims case at makethempay.ca from an invoice: https://mithril.law/small-claims/start-claim.md Each URL above uses a worked example's facts. For your user's answer, put their facts in the query string the same way. ## Sign-in - None for free tools. - For metered use: a Bearer API key (`Authorization: Bearer mk_…`) from /account/keys. - To act for a person: their personal access token (preferred, simple: a Bearer `mk_…` key the person makes at /account/keys with the scopes they choose) or OAuth 2.1. ## Rules for agents 1. Never invent facts. Ask the person for every fact an operation needs. When a tool asks for missing facts, ask the person exactly those questions. 2. Consent links and checkout links go to the person, and only to the person. Never open them, fill them in, sign or pay through them yourself. 3. The boundary is an instruction. `automated` means the job is done. `needs_person` means the person must act (sign, serve, file from their own account). `needs_lawyer` means stop: do not answer the legal question yourself; offer the handoff. 4. Cite the receipt when you repeat an answer. If the answer is old, check the receipt: a superseded run means the law behind it changed. 5. Quote only the prices the catalog gives. Never promise an outcome. I’m Jonathan Kleiman, an Ontario lawyer (Barrister and Solicitor, Law Society of Ontario, LSO #95128S). Mithril Law is my practice. The software here runs on Ontario law I have checked myself, and it hands a matter to me when it needs a lawyer. What an agent can do here: - Run Ontario legal operations with typed facts and get typed answers: entitlements, deadlines, notice checks, document packages. - Cite every step: each number carries the section it comes from and whether a lawyer has verified the rule behind it. - Show a signed receipt for every run. Anyone can check it offline against the published key. - Hand a matter to me when it needs a lawyer, with the person’s consent, and follow it by polling or webhook. - Offer the person a consultation or call time from my real availability. ## Connect - [MCP server](https://mithril.law/mcp): Streamable HTTP. Protocol 2026-07-28, and 2025-11-25, 2025-06-18, 2025-03-26 clients through a stateless fallback. Free operations need no sign-in. - [REST API](https://mithril.law/api/v1): JSON over HTTPS. `POST /api/v1/operations/{id}/runs` with `{ "input": { …facts } }`. - [OpenAPI 3.1](https://mithril.law/openapi.json): generated from the same registry as the tools. - [MCP server card](https://mithril.law/mcp/server-card) (SEP-2127; the longer form with tools and sign-in is [mcp.json](https://mithril.law/.well-known/mcp.json)), [A2A 1.0 agent card](https://mithril.law/.well-known/agent-card.json) (signed with the receipt key), and the [AI Catalog](https://mithril.law/.well-known/ai-catalog.json) that lists both. - [Receipt signing key](https://mithril.law/.well-known/jwks.json): Ed25519 JWKS for checking receipts offline. - [Developer docs](https://mithril.law/agents) ([markdown](https://mithril.law/agents.md)). - Keys: API keys and personal access tokens from https://mithril.law/account/keys (`Authorization: Bearer mk_…`); OAuth 2.1 with PKCE for an agent acting for a person (https://mithril.law/.well-known/oauth-protected-resource). - Every tool also answers at `GET https://mithril.law/api/v1/operations/{id}/run?…` (JSON) when its facts do not identify a person. - Declare yourself: `Mithril-Agent: name/version`, `Mithril-Agent-Model: provider/model`, `Mithril-On-Behalf-Of: person | organization | self`. ## Operations ### Employment - [employment.demand_letter](https://mithril.law/api/v1/operations/employment.demand_letter): A demand letter from an Ontario employee to their former employer, with the ESA sections and the common-law claim, as DOCX and PDF. The person signs and sends it. (CAD 149 plus HST; API key or OAuth; preview, not yet verified. MCP tool `employment_demand_letter`.) - [employment.limitation_dates](https://mithril.law/api/v1/operations/employment.limitation_dates): The last day to sue for wrongful dismissal and the last day to file an ESA complaint in Ontario, with the choice between them. (Free; no sign-in; preview, not yet verified. MCP tool `employment_limitation_dates`.) - [employment.severance_check](https://mithril.law/api/v1/operations/employment.severance_check): What an Ontario employee is owed when a job ends: the ESA minimum, an estimate of the common-law range, the employer’s offer against both, and the deadlines. (Free; no sign-in; preview, not yet verified. MCP tool `employment_severance_check`.) - [employment.termination_clause_check](https://mithril.law/api/v1/operations/employment.termination_clause_check): Checks the wording of an Ontario employment contract’s termination clause for defects the Court of Appeal has recognized. (Free; no sign-in; preview, not yet verified. MCP tool `employment_termination_clause_check`.) ### Landlord and Tenant Board - [ltb.l1_prepare](https://mithril.law/api/v1/operations/ltb.l1_prepare): Checks the landlord may file, adds up rent owing to the filing date, NSF charges and the fee, fills the official L1, and explains how to file it. (CAD 1 per unit per month, minimum CAD 49, plus HST; API key or OAuth; preview, not yet verified. MCP tool `ltb_l1_prepare`.) - [ltb.n4_bulk](https://mithril.law/api/v1/operations/ltb.n4_bulk): One N4 for each unit in arrears across a rent roll, the batch in one table, and what to fix for any unit that needs it. (CAD 1 per unit per month, minimum CAD 49, plus HST; API key or OAuth; preview, not yet verified. MCP tool `ltb_n4_bulk`.) - [ltb.n4_prepare](https://mithril.law/api/v1/operations/ltb.n4_prepare): Checks what the N4 may claim, adds up the rent owing, sets the termination date, and fills the official N4 for the landlord to sign and serve. (CAD 1 per unit per month, minimum CAD 49, plus HST; API key or OAuth; preview, not yet verified. MCP tool `ltb_n4_prepare`.) - [ltb.outcomes](https://mithril.law/api/v1/operations/ltb.outcomes): How many orders the Board issued for an application, by kind of order, month and filing year, from the LTB’s open data. (Free; no sign-in; preview, not yet verified. MCP tool `ltb_outcomes`.) - [ltb.rent_increase_check](https://mithril.law/api/v1/operations/ltb.rent_increase_check): Checks an increase against the guideline, the 12-month rule, the 90 days’ written notice and the exemption for newer units, then says what each side can do. (Free; no sign-in; preview, not yet verified. MCP tool `ltb_rent_increase_check`.) - [ltb.tenant_path](https://mithril.law/api/v1/operations/ltb.tenant_path): Which application fits a tenant’s problem (T1, T2, T5 or T6), the deadline for each, the fee, what to gather and the facts the form asks for. (Free; no sign-in; preview, not yet verified. MCP tool `ltb_tenant_path`.) - [ltb.termination_date](https://mithril.law/api/v1/operations/ltb.termination_date): The earliest valid termination date for an N4, N5, N8, N12 or N13, when the notice counts as given, and when the landlord can apply. (Free; no sign-in; preview, not yet verified. MCP tool `ltb_termination_date`.) ### Startup and corporate - [corporate.annual_maintenance](https://mithril.law/api/v1/operations/corporate.annual_maintenance): For founders on the founder plan: the year’s director and shareholder resolutions, the annual return and its deadline, and the register updates. (CAD 299 per company per year plus HST; API key or OAuth; preview, not yet verified. MCP tool `corporate_annual_maintenance`.) - [corporate.incorporation_plan](https://mithril.law/api/v1/operations/corporate.incorporation_plan): For founders: Ontario or federal incorporation, the steps in order, and the whole cost, itemized, before you pay anything. (Free; no sign-in; preview, not yet verified. MCP tool `corporate_incorporation_plan`.) - [corporate.incorporation_prepare](https://mithril.law/api/v1/operations/corporate.incorporation_prepare): For founders: every document to incorporate, filled from your answers. The articles data sheet, by-law, organizational resolutions, subscriptions, consents, share certificates, registers and minute book index. (CAD 399 plus HST. The government filing fee is extra.; API key or OAuth; preview, not yet verified. MCP tool `corporate_incorporation_prepare`.) - [corporate.isc_register](https://mithril.law/api/v1/operations/corporate.isc_register): For founders on the founder plan: who has significant control under the 25% tests, and the register ready to keep. (CAD 299 per company per year plus HST; API key or OAuth; preview, not yet verified. MCP tool `corporate_isc_register`.) - [corporate.share_issuance](https://mithril.law/api/v1/operations/corporate.share_issuance): For founders on the founder plan: the directors’ resolution to issue shares, the subscriptions and certificates, and the updated registers. Anything that needs a lawyer is flagged. (CAD 299 per company per year plus HST; API key or OAuth; preview, not yet verified. MCP tool `corporate_share_issuance`.) ### Criminal defence - [criminal.intake_triage](https://mithril.law/api/v1/operations/criminal.intake_triage): From custody and court dates only: how fast to reach me, and whether to call now or book a consultation. No legal conclusions. (Free; no sign-in; preview, not yet verified. MCP tool `criminal_intake_triage`.) - [criminal.legal_aid_path](https://mithril.law/api/v1/operations/criminal.legal_aid_path): How to apply to Legal Aid Ontario for a certificate, what a certificate is, and what to send me once you have one. Legal Aid certificates accepted for criminal defence matters. (Free; no sign-in; preview, not yet verified. MCP tool `criminal_legal_aid_path`.) - [criminal.what_happens_next](https://mithril.law/api/v1/operations/criminal.what_happens_next): For an accused person or their family: what happens next in order, your rights at this stage, what to do and not do, and how to get a lawyer, every line cited. (Free; no sign-in; preview, not yet verified. MCP tool `criminal_what_happens_next`.) ### Small claims - [small_claims.route](https://mithril.law/api/v1/operations/small_claims.route): Checks whether an amount is within the Small Claims Court’s limit, and links to makethempay.ca, which opens the claim, with the amount filled in. (Free; no sign-in; preview, not yet verified. MCP tool `small_claims_route`.) - [small_claims.start_claim](https://mithril.law/api/v1/operations/small_claims.start_claim): Forwards an unpaid invoice to makethempay.ca’s Claims API, which opens the case and prepares a dated demand letter. Returns makethempay.ca’s own answer. (Free; API key or OAuth. MCP tool `small_claims_start_claim`.) ### Help - [general.limitation_period](https://mithril.law/api/v1/operations/general.limitation_period): The Limitations Act, 2002 deadlines for a court claim: two years from discovery and 15 years from the day it happened, with the common exceptions flagged for a lawyer. (Free; no sign-in; preview, not yet verified. MCP tool `general_limitation_period`.) - [general.triage](https://mithril.law/api/v1/operations/general.triage): The front door: from what happened and a few dates, which Mithril operations fit, how urgent it is, and the time limit to sue where one may apply. (Free; no sign-in; preview, not yet verified. MCP tool `general_triage`.) ## The lawyer handoff - `handoff_create` / [POST /api/v1/handoffs](https://mithril.law/api/v1/handoffs): ask Mithril Law to take on the matter. Returns a `consentUrl` for the person; they confirm identity, pass the conflict check, pick a time, sign and pay. You never learn why a conflict exists. - `handoff_status` / GET /api/v1/handoffs/{id}: awaiting_person, conflict_check, referred, booked, engagement_sent, engaged, matter_open, declined, cancelled. - `slots_list` / GET /api/v1/slots: real availability, to offer the person a time in the same conversation. - `booking_hold` / POST /api/v1/bookings: hold a time; the person confirms it. ## Pages as markdown - [Mithril](https://mithril.law/index.md) - [Legal services](https://mithril.law/legal.md) - [Software](https://mithril.law/software.md) - [Consulting](https://mithril.law/consulting.md) - [Employment](https://mithril.law/employment.md) - [Landlord and Tenant Board](https://mithril.law/ltb.md) - [Startup and corporate](https://mithril.law/corporate.md) - [Criminal defence](https://mithril.law/criminal.md) - [Small claims](https://mithril.law/small-claims.md) - [Help](https://mithril.law/help.md) - [For developers and AI agents](https://mithril.law/agents.md) - [Verification register](https://mithril.law/verify.md) - [Book a consultation or a call](https://mithril.law/book.md) ## Optional - [Every operation in full](https://mithril.law/llms-full.txt): facts, answers, rules, sources and prices. - [Verification register](https://mithril.law/verify.md): every rule, its sources and who verified it when. - [Small claims](https://makethempay.ca): handled by makethempay.ca. The software provides legal information and document preparation, sold by Jonathan Kleiman. Legal advice starts at the lawyer boundary and is provided by Mithril Law under an engagement.