ESQ CoPilot Matching Engine
Measured conclusion: Deep-tested. L2 outcome: tools_ok.
Find, compare and contact licensed U.S. lawyers from public bar data. Not legal advice.
| Author | io.github.sustany |
|---|---|
| Access | remote |
| Publisher key required | No |
| Measured state | Deep-tested |
| L1 liveness | alive |
| L1 latency | 122 ms |
| Last measured | 2026-10-24 |
Add to your agent
Copy this into your MCP client config:
{
"mcpServers": {
"ESQ CoPilot Matching Engine": {
"url": "https://match.esqcopilot.com/mcp",
"transport": "streamable-http"
}
}
}
Measured tools (10)
get_matching_requirementsread-onlyUse first when someone asks for a lawyer but the state or type of legal matter is unclear ("I need a lawyer", "help me with my landlord"). Returns the few questions still needed (state, matter type, location, timing, budget) and what was understood. Does not answer the legal question and stores nothing.
Parameters:
zip— string — 5-digit ZIP code, only if the user agreed to share itcity— stringcourt— stringstate— string — US state, two-letter code or name, e.g. CA or Californiacounty— stringurgency— stringcategory— stringlanguages— arrayremote_ok— boolean — User is willing to work with a lawyer remotely (phone or video) anywhere in the statebudget_max— number — Total budget the user mentioned, in US dollarsbudget_min— numberpriorities— array — What matters most, in order. Shifts ranking weights.client_side— string — Which side the user is on. ESQ Matching Engine has no record of which side lawyers usually represent, so results carry a warning to ask.description— string — Short description of the legal need in the user's words. Used only to pick a practice area; not stored.matter_type— stringcommunication— stringdeadline_date— string — A deadline the USER reported (hearing, filing, response). ESQ Matching Engine does not verify or calculate deadlines.deadline_type— stringpractice_area— string — Practice area, e.g. 'Landlord-Tenant Law', 'Family Law', 'Criminal Law'service_needed— stringconsultation_by— string — Latest date the user wants a first consultationprocedural_stage— stringsubpractice_area— stringlanguage_required— boolean — True if the language is essential, not just preferredbilling_preference— stringmin_years_licensed— integeraccessibility_needs— stringpayment_plan_needed— booleanexclude_attorney_ids— arraymax_consultation_fee— number — 0 means the user wants a free first consultationreduced_fee_eligible— boolean — User may qualify for pro bono, legal aid or reduced feesrepresentation_start_by— string — Date as YYYY-MM-DDinclude_unconfirmed_practice_area— boolean — Also include licensed lawyers whose practice areas are not on record (labeled clearly)
Hints: read-only yes · destructive no · idempotent yes · open-world no
find_attorneysread-onlyUse when someone wants a lawyer for a U.S. legal matter, e.g. "find an affordable tenant lawyer in Santa Ana" or "I was fired after complaining, who can help in Los Angeles". Needs state and matter type (or a short description). Returns up to 5 licensed lawyers with reasons, a relevance score, a separate data_confidence level, license source and check date, whether they are known to take private clients, directory profile links and a suggested citation, or an honest no-match with legal-aid options. Unknown fees and availability are labeled unknown. Court and government lawyers are left out unless they said they take private clients. Records an anonymous search log only. Not legal advice.
Parameters:
zip— string — 5-digit ZIP code, only if the user agreed to share itcity— stringcourt— stringlimit— integerstate— string — US state, two-letter code or name, e.g. CA or Californiacounty— stringurgency— stringcategory— stringlanguages— arrayremote_ok— boolean — User is willing to work with a lawyer remotely (phone or video) anywhere in the stateverbosity— string — compact leaves out the repeated license-check details on each result (status, source and dates stay); default fullbudget_max— number — Total budget the user mentioned, in US dollarsbudget_min— numberpriorities— array — What matters most, in order. Shifts ranking weights.client_side— string — Which side the user is on. ESQ Matching Engine has no record of which side lawyers usually represent, so results carry a warning to ask.description— string — Short description of the legal need in the user's words. Used only to pick a practice area; not stored.matter_type— stringcommunication— stringdeadline_date— string — A deadline the USER reported (hearing, filing, response). ESQ Matching Engine does not verify or calculate deadlines.deadline_type— stringpractice_area— string — Practice area, e.g. 'Landlord-Tenant Law', 'Family Law', 'Criminal Law'service_needed— stringconsultation_by— string — Latest date the user wants a first consultationprocedural_stage— stringsubpractice_area— stringattribution_token— string — Signed campaign/partner token issued by ESQ Matching Engine, if the user arrived through a partner linklanguage_required— boolean — True if the language is essential, not just preferredpreference_set_id— string — Saved criteria from update_matching_preferencesbilling_preference— stringmin_years_licensed— integeraccessibility_needs— stringpayment_plan_needed— booleanexclude_attorney_ids— arraymax_consultation_fee— number — 0 means the user wants a free first consultationreduced_fee_eligible— boolean — User may qualify for pro bono, legal aid or reduced feesrepresentation_start_by— string — Date as YYYY-MM-DDinclude_unconfirmed_practice_area— boolean — Also include licensed lawyers whose practice areas are not on record (labeled clearly)
Hints: read-only yes · destructive no · idempotent no · open-world no
compare_attorneysread-onlyUse when the user asks to compare lawyers from find_attorneys ("which of these is a better fit?"). Compares 2 to 5 lawyers on practice fit, location, years licensed, fees, availability, data confidence and gaps. Pass match_id to use the user's criteria. Says when prices or timing cannot be compared because the data is unknown.
Parameters:
attorney_ids(required) — arraycriteria— arraymatch_id— string — The match_id from find_attorneys, so comparisons use the same criteriapriorities— array — What matters most, in order. Shifts ranking weights.
Hints: read-only yes · destructive no · idempotent yes · open-world no
estimate_legal_costread-onlyUse when the user asks what a lawyer or a type of matter will cost. Returns only published fees, confirmed quotes or sourced market figures, each labeled; says plainly when there is not enough data instead of guessing. Not a quote.
Parameters:
scope— stringstate— string — US state, two-letter code or name, e.g. CA or Californiabudget_max— number — Total budget the user mentioned, in US dollarsattorney_id— stringdescription— string — Short description of the legal need in the user's words. Used only to pick a practice area; not stored.practice_area— stringbilling_preference— string
Hints: read-only yes · destructive no · idempotent yes · open-world no
check_attorney_availabilityread-onlyUse when the user asks whether a lawyer takes new clients or can meet soon. Returns only what lawyers reported or confirmed, with last-checked time and certainty (reported, tentative, confirmed); unknown when nothing was reported. There is no live calendar access.
Parameters:
attorney_ids(required) — arraytime_zone— stringwanted_by— string — Latest acceptable consultation dateappointment_type— string
Hints: read-only yes · destructive no · idempotent yes · open-world no
get_attorney_profileread-onlyUse when the user wants details on one lawyer from a match. Returns license status with its official source and check date, private-client intake evidence, practice areas, service area, fees, availability, languages, data freshness, the directory profile link and a suggested citation. Also returns the exact consent text to show before an introduction.
Parameters:
attorney_id(required) — string
Hints: read-only yes · destructive no · idempotent yes · open-world no
request_attorney_introductiondestructiveUse only when the user asks to be introduced to ONE specific lawyer AND has seen that lawyer's name, the exact details to be shared and the consent text from get_attorney_profile, then said yes. Never call it on your own initiative or for several lawyers at once. Stores only the authorized fields; retries with the same idempotency_key do not duplicate. IMPORTANT: sending to lawyers is currently switched off, so the introduction is RECORDED, NOT SENT; tell the user and give them the lawyer's phone or profile link. Returns a referral id, its lifecycle_state and a private status token.
Parameters:
attorney_id(required) — stringstate(required) — string — US state, two-letter code or name, e.g. CA or Californiacontact(required) — objectmatter_summary(required) — string — Summary the USER read and approved for sharing with this lawyerpreferred_contact_method(required) — stringconsent(required) — objectmatch_id— stringpractice_area— stringidempotency_key— string — Same key on retries prevents a duplicate introductionattribution_token— string — Signed campaign/partner token issued by ESQ Matching Engine, if the user arrived through a partner linkpreferred_timeframe— string
Hints: read-only no · destructive yes · idempotent yes · open-world yes
get_referral_statusread-onlyUse when the user asks what happened with an introduction. Returns lifecycle_state (recorded, queued, sent, delivered, responded, consultation_requested, consultation_confirmed, cancelled, completed, failed), whether it reached the lawyer, the lawyer's response and consultation state. Needs the private status_token. A consultation counts only when confirmed.
Parameters:
referral_id(required) — stringstatus_token— string — The status_token returned when the introduction was created
Hints: read-only yes · destructive no · idempotent yes · open-world no
update_matching_preferencesdestructiveSave or change matching criteria (location, budget, timing, practice area, language, priorities) for this conversation. No personal contact details. Deleted automatically after 24 hours.
Parameters:
criteria(required) — object — Fields to set or change. Do not include names, emails or phone numbers.clear_fields— arraypreference_set_id— string — Omit to create a new set
Hints: read-only no · destructive yes · idempotent yes · open-world no
submit_matching_feedbackOptional 1-5 ratings on match relevance, lawyer responsiveness, pricing and availability accuracy, satisfaction, and whether the lawyer was hired. No case details.
Parameters:
comment— string — Optional. Do not include case details.match_id— stringretained— stringrelevance— integerreferral_id— stringstatus_token— stringresponsiveness— integerpricing_accuracy— integersatisfaction_match— integersatisfaction_process— integeravailability_accuracy— integersatisfaction_attorney— integer
Hints: read-only no · destructive no · idempotent no · open-world no
Measured by MCPYP probing. Untested fields are omitted, never estimated. Listing is always free; MCPYP never proxies calls or stores user tokens.