liendeadline-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LIENDEADLINE_API_KEY | No | Optional customer API key. Only calculate_lien_deadline and list_supported_states need a key; the public tools work without a key. Set in the MCP process environment, e.g. in the server's env block. | |
| LIENDEADLINE_API_URL | No | Accepts a bare HTTP(S) origin for the public tools; customer tools reject every other origin, including staging, alternate ports and insecure HTTP. URL credentials, paths, queries and fragments are rejected. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
For supplier deadline calculations, start with get_supplier_questions for any US state or DC, the project type, and who hired the supplier. The API returns current scope support, event questions and rule identities. Confirm the applicable facts, including any proposed ordinary answers. For a supported scope, use calculate_supplier_deadlines_v3 with those identities and nested event answers. Report review-required and no-lien-right outcomes with their reasons. When RI discovery asks ri_mailed_within_200_days after ri_mailed=yes, confirm whether mailing occurred within 200 days of first delivery. No, Unknown or omitted confirmation requires review; recording alone does not establish a 40-day target. When preliminary_notice.notice_duties is present, report every named notice with its own calculated date, explanation and sources; the legacy preliminary_notice.deadline is only the earliest summary. Preserve the validated collection and never infer independent notices from candidates or treat one notice as satisfying all duties. When preliminary_notice.planned_notice_targets is present, report every Intent planning target with its target date, assumed filing date, full ten- or thirty-day interval, explanation and sources. Earlier actual filing requires the full interval before that filing. Preserve these qualified plans separately from confirmed notices: they do not establish a statutory expiration, actual filing, sent notice, completion or scheduled notification. Submit optional recurring_notice_facts only when the exact discovery returns a matching recurring_notice_intake descriptor. Its absence means no recurring intake is available for that scope; never infer it from the state alone. Optional recurring_notice_facts records actual Tennessee furnished months or New Hampshire written accounts. Report Tennessee recurring_notice_periods only for entered months, including paid and unknown periods, with entered_periods_only coverage. Do not infer intervening months or complete later occurrences from an earlier completion. Report New Hampshire recurring_notice_checkpoints as advisory account check-ins with unresolved legal status and their actual anchor and coverage. These checkpoints do not establish a legal deadline, service, completion, reminder or a blanket cadence reset; earlier gaps remain unresolved. Report every returned candidate_deadlines entry with its ID, date and sources, preserving the API explanation and qualified review. For New Hampshire review fallbacks, identify first_furnishing as a conservative checkpoint and final_furnishing as informational pending contract grouping and qualifying completion. Passing the first checkpoint does not itself establish expiry. A calculated contract_completion outcome uses only the API-returned deadline; do not substitute the first-furnishing checkpoint or recompute a date. Review candidates do not establish calculated filing deadlines, notice completion or scheduled reminders. If a verified review_required outcome returns action_by, label it Conservative action date, preserve its explanation, sources and critical warnings, and retain qualified review: it is a planning target while the statutory deadline remains unresolved, with no statutory countdown. Never infer an action date from candidates, guides or memory. A 409 requires fresh discovery and confirmation; a 503 means this interface is unavailable. US mechanics lien and preliminary notice deadlines for construction material suppliers. Legacy calculate_supplier_deadlines requires a customer key and counts against the plan. Give it the project state, first delivery date, final delivery date when deliveries are complete, project type and who hired the supplier. Answer Florida final-payment and termination or Kansas extension questions explicitly as yes, no or unknown; missing and unknown facts need review. The Florida final-payment question applies to suppliers not hired by the owner: unknown, omitted, or yes without a date makes preliminary notice review_required. Available date baselines cover Florida and Kansas private projects; every other case returns review_required, which is an answer, not a failure. Ask for missing facts rather than guessing, and never substitute an invoice date for delivery dates. get_state_lien_guide and list_state_lien_guides return editorial guides with statute citations for all 50 states plus DC: use get_state_lien_guide to explain the rules behind a date and list_state_lien_guides to find valid state codes. Guide day counts are editorial summaries; take statutory dates only from verified calculated outcomes of calculate_supplier_deadlines or calculate_supplier_deadlines_v3, and treat unresolved outcomes as requiring qualified review. Research approval for a jurisdiction does not enable its calculations; take dates only from a successful calculation response for the submitted facts. calculate_lien_deadline and list_supported_states are customer API tools that need LIENDEADLINE_API_KEY. list_supported_states returns the codes calculate_lien_deadline accepts; supplier tools also require a key. Without one, use the public state guides or website calculator. Results are calculated baselines, not legal advice.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| calculate_supplier_deadlinesA | Legacy calculator for Florida and Kansas private projects. Calculates a material supplier's preliminary notice and lien filing deadlines from delivery events (contract supplier-events-v2), for questions that need deadline dates. Available baselines cover Florida and Kansas private projects; other states and public projects return review_required, which is a valid result, not an error. How the parameters depend on each other: last_delivery_date is required when deliveries_complete is true. Florida (FL) takes florida_final_payment_status and florida_termination_status; Kansas (KS) takes kansas_extension_status; these are rejected for other states. Each takes yes, no or unknown: an omitted or unknown answer keeps the affected deadline under review, and a blanket review flag is not accepted. The Florida final-payment answer holds the notice for suppliers not hired by the owner. A Florida event date is accepted only with the matching yes answer. Delivery dates are furnishing dates, not invoice dates. Returns JSON with an overall status (calculated or review_required), preliminary_notice and lien_filing (each with its own status: calculated, not_required, review_required or awaiting_final_delivery, plus deadline, days_from_now, description and statute source_url), critical_warnings, statute_citations, an exact echo of the submitted inputs and a disclaimer. Invalid or contradictory facts return an error naming the field before any API call. Requires a customer key and consumes one plan calculation unit. No project is saved, notice sent or lien filed. Not legal advice. |
| get_supplier_questionsA | Start here for a material supplier deadline. Check live supplier-events-v3 coverage for any US state or DC, project type, and hiring relationship. Returns supported, review_required, or no_lien_right with a reason, applicable event questions, date policies, sources, and exact rule and question identities. It may also return recurring_notice_intake and short-form guidance. Confirm ordinary answers against the project facts. Requires a customer key. Discovery needs no delivery dates and uses no calculation allowance. A 503 means the reviewed source is unavailable. |
| calculate_supplier_deadlines_v3A | Evaluates confirmed supplier-events-v3 facts against the rule and question identities from v3 discovery. Returns separate sourced notice and lien outcomes, including qualified review when relevant facts are unresolved, and an exact nested input echo. When RI discovery asks ri_mailed_within_200_days after ri_mailed=yes, confirm whether mailing occurred within 200 days of first delivery. No, Unknown or omitted confirmation requires review; recording alone does not establish a 40-day target. Only calculated outcomes contain calculated deadline dates. Report every candidate_deadlines entry with its ID, date and sources under the API explanation. For NH review fallbacks, first_furnishing is a conservative checkpoint and final_furnishing is informational pending contract grouping and qualifying completion; passing the first checkpoint does not itself establish expiry. A calculated contract_completion outcome uses only the returned deadline, without substituting the first checkpoint or recomputing a date. Review candidates do not establish filing deadlines, completion or scheduled reminders. An optional preliminary_notice.notice_duties collection contains independently required named notices, each with its own calculated date, explanation and sources; the legacy preliminary date is only their earliest summary. Report every validated duty without inferring duties from candidates or treating one notice as satisfying all duties. A separate optional preliminary_notice.planned_notice_targets collection contains qualified intent planning targets with their target dates, assumed filing dates, full ten- or thirty-day intervals, explanations and sources. Planning targets do not establish statutory expirations, actual filing, notice completion or scheduled notifications. An optional verified action_by is a Conservative action date planning target under qualified review; the statutory deadline and countdown remain unresolved, with explanation, sources and warnings. Optional recurring_notice_facts supplies actual Tennessee furnished months or New Hampshire account records. Tennessee recurring_notice_periods cover entered periods only, including paid and unknown states; known unpaid duties remain independent. New Hampshire recurring_notice_checkpoints are advisory check-ins with unresolved legal status, not legal deadlines, service, completion or scheduled reminders; they do not reset earlier gaps. Never infer intervening months or blanket completion. Stale identities return 409, unavailable reviewed sources return 503. Requires a customer key and consumes one plan calculation unit. No project is saved, notice sent or lien filed. |
| calculate_lien_deadlineA | Customer API tool: requires LIENDEADLINE_API_KEY, a dedicated LienDeadline customer key; without one it returns a configuration error and makes no request. Calculates the preliminary notice and lien filing deadlines for one construction invoice from its invoice or delivery date and state. Returns JSON with state, invoice_date, project_type, preliminary_notice_deadline, lien_deadline, waiver_due_date, prelim_deadline_days, lien_deadline_days, warnings such as weekend or holiday rollover, notes and a disclaimer. A date, day count or project_type the API does not return is null; missing warnings is [] and missing notes is an empty string. API denials (401 key, 403 scope, 429 rate limit) return a tool error. Successful calculations consume one API plan unit. Not legal advice. |
| list_supported_statesA | Customer API tool: requires LIENDEADLINE_API_KEY with the states:read scope. Returns count and the two-letter codes of the jurisdictions the customer invoice calculation accepts. It does not list editorial guides or the states with reviewed supplier baselines. Takes no parameters. Read-only. |
| get_state_lien_guideA | Returns LienDeadline's editorial mechanics lien and preliminary notice guide for one state or DC: rules (rule summary with statute citations), deadline_rows (deadline table), faqs (common questions) and source_url (the guide's web page), roughly 4 KB of JSON. For questions about how a state's lien or notice rules work, why a deadline falls where it does, or which statute applies. An unknown state code returns an error. The guide is an editorial reference, not a calculation: its day counts are summaries, not computed deadlines. Public and read-only; no key needed. |
| list_state_lien_guidesA | Lists every published state lien guide in one response, without pagination: count plus state_code, title and slug for all 50 states and DC, in alphabetical order by state name. It lists editorial guides only and does not indicate which states have calculated deadlines. Takes no parameters. Public and read-only; no key needed. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Three tools compute lien/notice deadlines — calculate_supplier_deadlines (legacy, FL/KS only), calculate_supplier_deadlines_v3, and calculate_lien_deadline (invoice-date based) — and their boundaries are only clear after reading long descriptions, so misselection is likely. The state tools (list_state_lien_guides, list_supported_states, get_state_lien_guide) are better separated but still share near-identical naming roots. Descriptions do disambiguate once read, preventing a lower score.
All tools follow a consistent snake_case verb_noun pattern (list_*, get_*, calculate_*). The only real deviation is the versioned calculate_supplier_deadlines_v3 sitting alongside an unsuffixed legacy calculate_supplier_deadlines, which is slightly asymmetric. Otherwise readable and predictable.
Seven tools is a good scoped size for a lien-deadline domain. There is some redundancy — a legacy calculator coexisting with a v3 calculator, and a list/get pair plus a separate supported-states list. Not a sizing problem, just mild duplication.
The surface covers editorial guides (list + get), supported-jurisdiction discovery, v3 question discovery then calculation, and a simple invoice-based calculator — a coherent lifecycle for read-only deadline advice, with no writes by design. Minor gaps: no batch/multi-invoice calculation and no explicit way to enumerate states with calculated baselines versus editorial coverage, forcing agents to probe.