{"apiVersion":"v1","directorySlug":"bk-engine-mcp-fe8a1c5ad9","title":"Bankruptcy","description":"AI-powered bankruptcy case management with Model Context Protocol tools for attorneys and paralegals.","pageUrl":"https://www.mcpbundles.com/skills/bk-engine-mcp-fe8a1c5ad9","connectPath":"importable","connectAction":"import_server","catalogListing":false,"bundleSlug":null,"listingKind":"remote_mcp","kind":"provider","transportUrl":"https://bk-engine.com/api/mcp","hostedMcpUrl":null,"toolCount":37,"toolInventoryStatus":"observed","refreshedAt":"2026-11-03T13:26:00.516172+00:00","registryName":"com.bk-engine/bk-engine-mcp-fe8a1c5ad9","registryVersion":"2026.11.3","registryEligible":true,"tools":[{"name":"ingest_client_intake","description":"[DOMAIN: Intake & Math]\nTRIGGER: Run this FIRST for every new client or case. Before any math, filing, or communication.\nProcesses raw client intake text (emails, PDFs, forms) in two passes:\n1. PII SCRUBBING — replaces SSNs, names, emails, phones, account numbers with tokens like [SSN_1], [NAME_1]\n2. STRUCTURED EXTRACTION — pulls out income figures, creditors, assets, state, household size, and chapter preference","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["raw_text"],"properties":{"raw_text":{"type":"string"},"scrub_level":{"enum":["minimal","standard","aggressive"],"type":"string"},"extract_structured":{"type":"boolean"}}},"logicalName":"ingest_client_intake","displayName":"ingest_client_intake","title":"ingest_client_intake","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"map_creditor_matrix","description":"[DOMAIN: Document Factory]\nTRIGGER: Run after ingest_client_intake when you have a messy creditor list that needs to become a court-ready CSV.\nPREREQUISITE: ingest_client_intake must have already scrubbed PII from the creditor data.\nDO NOT use this tool to calculate debt totals — use draft_official_schedules for that.\nConverts raw creditor arrays into the standardized CSV format required for court upload.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["creditor_list"],"properties":{"creditor_list":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"output_format":{"enum":["csv","txt"],"type":"string"}}},"logicalName":"map_creditor_matrix","displayName":"map_creditor_matrix","title":"map_creditor_matrix","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"run_means_test","description":"[DOMAIN: Intake & Math]\nCalculates Chapter 7 means test eligibility (Official Forms 122A-1 and 122A-2).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["state","household_size","current_monthly_income"],"properties":{"state":{"type":"string","maxLength":2,"minLength":2},"household_size":{"type":"integer","maximum":9007199254740991,"minimum":1},"monthly_expenses":{"type":"object","properties":{"car_payment":{"type":"number"},"court_ordered":{"type":"number"},"mortgage_rent":{"type":"number"},"other_secured":{"type":"number"},"taxes_withheld":{"type":"number"},"health_insurance":{"type":"number"},"term_life_insurance":{"type":"number"}}},"current_monthly_income":{"type":"number","minimum":0},"total_nonpriority_unsecured_debt":{"type":"number"}}},"logicalName":"run_means_test","displayName":"run_means_test","title":"run_means_test","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"calculate_exemptions","description":"[DOMAIN: Intake & Math]\nTRIGGER: Run once per asset after you have a dollar value from fetch_vehicle_value or fetch_property_value (or from the client intake).\nPREREQUISITE: You must know the client's STATE and the asset's EQUITY value (market value minus loans).\nDO NOT use for income or debt calculations — only for asset-by-asset exemption checks.\nReturns at_risk flag + suggested_next_action. If at_risk=true, STOP and alert attorney before drafting schedules.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["state","asset_type","equity"],"properties":{"state":{"type":"string","maxLength":2,"minLength":2},"equity":{"type":"number","minimum":0},"asset_type":{"enum":["homestead","vehicle","personal_property","retirement","wildcard","tools_of_trade","jewelry","life_insurance"],"type":"string"},"is_married":{"type":"boolean"},"use_federal":{"type":"boolean"}}},"logicalName":"calculate_exemptions","displayName":"calculate_exemptions","title":"calculate_exemptions","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"draft_court_pleading","description":"[DOMAIN: Document Factory]\nTRIGGER: Run when attorney needs a specific motion or pleading drafted — NOT for routine schedules (use draft_official_schedules for those).\nPREREQUISITE: case_number and debtor_name must be known. Run ingest_client_intake first if working from raw text.\nSupports: NOA, answer_to_complaint, reaffirmation_agreement, motion_to_avoid_lien, objection_to_claim.\nFor objection_to_claim: first run scrape_claims_register to get the claim number and amount.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["doc_type","case_number","debtor_name","court_district"],"properties":{"doc_type":{"enum":["NOA","answer_to_complaint","reaffirmation_agreement","motion_to_avoid_lien","objection_to_claim"],"type":"string"},"variables":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"case_number":{"type":"string"},"debtor_name":{"type":"string"},"court_district":{"type":"string"}}},"logicalName":"draft_court_pleading","displayName":"draft_court_pleading","title":"draft_court_pleading","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"draft_official_schedules","description":"[DOMAIN: Document Factory]\nGenerates official federal bankruptcy schedules (Schedules A/B, C, D, E/F, I, J) and the Statement of Financial Affairs (SOFA, Form 107).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["financial_data"],"properties":{"schedules":{"type":"array","items":{"enum":["A_B","C","D","E_F","I","J","SOFA"],"type":"string"}},"sofa_data":{"type":"object","properties":{"lawsuits":{"type":"array","items":{"type":"object","required":["case_title","court","status"],"properties":{"court":{"type":"string"},"status":{"type":"string"},"case_title":{"type":"string"}}}},"prior_addresses":{"type":"array","items":{"type":"object","required":["address","from_date","to_date"],"properties":{"address":{"type":"string"},"to_date":{"type":"string"},"from_date":{"type":"string"}}}},"payments_insiders":{"type":"array","items":{"type":"object","required":["name","relationship","amount","date"],"properties":{"date":{"type":"string"},"name":{"type":"string"},"amount":{"type":"number"},"relationship":{"type":"string"}}}},"property_transferred":{"type":"array","items":{"type":"object","required":["description","transferee","date","value"],"properties":{"date":{"type":"string"},"value":{"type":"number"},"transferee":{"type":"string"}}}},"payments_last_90_days":{"type":"array","items":{"type":"object","required":["creditor","amount","date"],"properties":{"date":{"type":"string"},"amount":{"type":"number"},"reason":{"type":"string"},"creditor":{"type":"string"}}}},"repossessions_or_foreclosures":{"type":"array","items":{"type":"object","required":["property","date","creditor"],"properties":{"date":{"type":"string"},"creditor":{"type":"string"},"property":{"type":"string"}}}}}},"financial_data":{"type":"object","required":["debtor_name"],"properties":{"district":{"type":"string"},"exemptions":{"type":"array","items":{"type":"object","required":["description","value"],"properties":{"law":{"type":"string"},"value":{"type":"number"}}}},"case_number":{"type":"string"},"debtor_name":{"type":"string"},"real_property":{"type":"array","items":{"type":"object","required":["description","value"],"properties":{"value":{"type":"number"},"secured_claims":{"type":"number"},"nature_of_interest":{"type":"string"}}}},"income_sources":{"type":"array","items":{"type":"object","required":["source","amount"],"properties":{"amount":{"type":"number"},"source":{"type":"string"}}}},"monthly_income":{"type":"number"},"monthly_expenses":{"type":"number"},"personal_property":{"type":"array","items":{"type":"object","required":["description","value"],"properties":{"value":{"type":"number"}}}},"secured_creditors":{"type":"array","items":{"type":"object","required":["name","amount"],"properties":{"name":{"type":"string"},"amount":{"type":"number"},"collateral":{"type":"string"}}}},"expense_line_items":{"type":"array","items":{"type":"object","required":["category","amount"],"properties":{"amount":{"type":"number"},"category":{"type":"string"}}}},"priority_creditors":{"type":"array","items":{"type":"object","required":["name","amount"],"properties":{"name":{"type":"string"},"amount":{"type":"number"},"priority_type":{"type":"string"}}}},"unsecured_creditors":{"type":"array","items":{"type":"object","required":["name","amount"],"properties":{"name":{"type":"string"},"amount":{"type":"number"},"account":{"type":"string"}}}}}}}},"logicalName":"draft_official_schedules","displayName":"draft_official_schedules","title":"draft_official_schedules","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"fetch_case_docket","description":"[DOMAIN: External APIs]\nTRIGGER: Run when you need to check recent court activity for an EXISTING case (one with a case_number already assigned).\nDO NOT run for new petitions that haven't been filed yet.\nPREREQUISITE: case_number and district must be known.\nReturns last 5 entries + attorney_flags for urgent items (relief from stay, objections to discharge).\nIf PACER credentials are missing, returns mock data and instructions to add credentials in Settings.\nSuggested follow-up: run scrape_claims_","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_number","district"],"properties":{"district":{"type":"string"},"date_from":{"type":"string"},"case_number":{"type":"string"}}},"logicalName":"fetch_case_docket","displayName":"fetch_case_docket","title":"fetch_case_docket","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"scrape_claims_register","description":"[DOMAIN: External APIs]\nTRIGGER: Run to check what proofs of claim have been filed against a debtor by creditors.\nDO NOT confuse with fetch_case_docket (docket = all court filings; claims register = only proofs of claim).\nPREREQUISITE: case_number and district must be known (case must be filed).\nKEY OUTPUT: summary.total_nonpriority_unsecured — pass this to run_means_test as total_nonpriority_unsecured_debt for the 25% threshold test.\nAlso flags disputed claims that may need draft_court_pleading","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_number","district"],"properties":{"district":{"type":"string"},"case_number":{"type":"string"}}},"logicalName":"scrape_claims_register","displayName":"scrape_claims_register","title":"scrape_claims_register","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"fetch_vehicle_value","description":"[DOMAIN: External APIs]\nTRIGGER: Run for every vehicle listed in the client's asset inventory before running calculate_exemptions.\nPREREQUISITE: ingest_client_intake should have already identified vehicles in the intake text.\nDO NOT use for real estate — use fetch_property_value instead.\nReturns private_party_value (use this for Schedule B). If the API fails, returns recovery_suggestion.\nSuggested follow-up: run calculate_exemptions with asset_type=\"vehicle\" using this value minus any loan balan","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["year","make","model"],"properties":{"make":{"type":"string"},"year":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"model":{"type":"string"},"mileage":{"type":"number"},"condition":{"enum":["excellent","good","fair","poor"],"type":"string"}}},"logicalName":"fetch_vehicle_value","displayName":"fetch_vehicle_value","title":"fetch_vehicle_value","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"fetch_property_value","description":"[DOMAIN: External APIs]\nTRIGGER: Run for every real property listed in the client's asset inventory before running calculate_exemptions.\nDO NOT use for vehicles — use fetch_vehicle_value instead.\nPREREQUISITE: Must have the property address, city, state, and zip.\nReturns estimated_value (use for Schedule A/B). If the API fails, returns recovery_suggestion.\nSuggested follow-up: run calculate_exemptions with asset_type=\"homestead\" using this value minus any mortgage balance.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["address","city","state","zip_code"],"properties":{"city":{"type":"string"},"state":{"type":"string","maxLength":2,"minLength":2},"address":{"type":"string"},"zip_code":{"type":"string"}}},"logicalName":"fetch_property_value","displayName":"fetch_property_value","title":"fetch_property_value","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"send_client_email","description":"[DOMAIN: Operations & Comms]\nTRIGGER: Run to send an email to the client about their case. Use template parameter for common scenarios.\nDO NOT use for attorney-to-attorney communication — only for attorney/paralegal-to-client messages.\nAlways include case_id so the email is logged to the case timeline.\nIf Resend API fails, tool returns recovery_suggestion pointing to send_client_sms as a fallback.\nPre-built templates: intake_confirmation, meeting_of_creditors_notice, document_request, case_filed","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id","to","subject","body"],"properties":{"to":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"body":{"type":"string"},"case_id":{"type":"string"},"subject":{"type":"string"},"template":{"enum":["custom","intake_confirmation","meeting_of_creditors_notice","document_request","case_filed_confirmation","deadline_reminder","discharge_granted"],"type":"string"},"template_vars":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}}},"logicalName":"send_client_email","displayName":"send_client_email","title":"send_client_email","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"send_client_sms","description":"[DOMAIN: Operations & Comms]\nTRIGGER: Run to send a text message to the client — use when email bounces, for urgent alerts, or for simple confirmations.\nDO NOT use for long messages with attachments — use send_client_email for those.\nAlways include case_id so the SMS is logged to the case timeline.\nIf Twilio fails, tool returns recovery_suggestion pointing to send_client_email as a fallback.\nPhone number must be in E.164 format: +15551234567.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id","to","message"],"properties":{"to":{"type":"string"},"case_id":{"type":"string"},"message":{"type":"string","maxLength":1600}}},"logicalName":"send_client_sms","displayName":"send_client_sms","title":"send_client_sms","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"get_case_timeline","description":"[DOMAIN: Operations & Comms]\nTRIGGER: Run to get a unified view of all communications, notes, and deadlines for a case.\nDO NOT use to send messages — use send_client_email or send_client_sms for that.\nUse this after sending any communication to verify it was logged.\nUse this at the start of a session to catch up on case history before taking action.\nReturns events sorted by date + upcoming/overdue deadlines.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id"],"properties":{"limit":{"type":"integer","maximum":50,"minimum":1},"case_id":{"type":"string"},"channel":{"enum":["email","sms","note","system","all"],"type":"string"}}},"logicalName":"get_case_timeline","displayName":"get_case_timeline","title":"get_case_timeline","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"manage_deadlines","description":"[DOMAIN: Operations & Comms]\nTRIGGER: Run immediately after a case is filed to set up standard bankruptcy deadlines.\nUse action=\"add\" with auto_calculate=true, filing_date, and chapter to create all standard deadlines in one call.\nUse action=\"list\" to check what deadlines are upcoming or overdue before each client touchpoint.\nUse action=\"complete\" when an event (like the 341 meeting) has occurred.\nDO NOT use for external court deadlines from PACER — use fetch_case_docket for those.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["action","case_id"],"properties":{"type":{"enum":["meeting_of_creditors","claims_bar_date","plan_confirmation","objection_deadline","custom"],"type":"string"},"action":{"enum":["add","complete","list"],"type":"string"},"case_id":{"type":"string"},"chapter":{"type":"string"},"due_date":{"type":"string"},"deadline_id":{"type":"string"},"filing_date":{"type":"string"},"auto_calculate":{"type":"boolean"}}},"logicalName":"manage_deadlines","displayName":"manage_deadlines","title":"manage_deadlines","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"fetch_live_means_test_data","description":"[DOMAIN: Intake & Math]\nTRIGGER: Run to refresh the IRS National Standards and UST state median income tables used by run_means_test.\nDO NOT run this before every means test — data is cached for 7 days automatically.\nRun this ONLY when: (1) you need to verify the data is current, (2) the user asks for live UST data, or (3) force_refresh=true is needed after a table update.\nReturns raw table data — pass relevant values to run_means_test if overriding built-in tables.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"state":{"type":"string","maxLength":2,"minLength":2},"data_type":{"enum":["state_medians","irs_national_standards","irs_housing","all"],"type":"string"},"force_refresh":{"type":"boolean"}}},"logicalName":"fetch_live_means_test_data","displayName":"fetch_live_means_test_data","title":"fetch_live_means_test_data","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"get_official_form","description":"[DOMAIN: Document Factory]\nTRIGGER: Run when attorney or client asks for the PDF link to a specific official bankruptcy form, or when you need to reference the official form number in a document.\nDO NOT use this to fill out forms — use draft_official_schedules or draft_court_pleading for that.\nSupports all 23 standard federal forms (101, 106A/B, 107, 122A-1, B201, etc.).\nReturns uscourts.gov PDF URL and instructions URL.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["form_number"],"properties":{"format":{"enum":["url","info"],"type":"string"},"form_number":{"type":"string"}}},"logicalName":"get_official_form","displayName":"get_official_form","title":"get_official_form","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"file_ecf","description":"[DOMAIN: External APIs]\nTRIGGER: Run ONLY when attorney has approved a final document and is ready to file it with the court via CM/ECF.\nDO NOT run during drafting or review — only when document is finalized.\nPREREQUISITE: (1) Document must be fully reviewed and approved. (2) case_number and district must be known. (3) PACER credentials must be in Settings for live filing.\nIf PACER credentials are missing, returns the manual ECF URL and step-by-step filing instructions instead of auto-filing.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_number","district","event_code","document_title"],"properties":{"district":{"type":"string"},"event_code":{"type":"string"},"pdf_base64":{"type":"string"},"case_number":{"type":"string"},"document_title":{"type":"string"}}},"logicalName":"file_ecf","displayName":"file_ecf","title":"file_ecf","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sync_filevine","description":"[DOMAIN: Operations & Comms]\nTRIGGER: Run to sync case data between this system and Filevine case management.\nPREREQUISITE: Filevine API credentials must be in Settings → API Credentials.\nUse action=\"push_case\" after completing intake to create/update the Filevine project.\nUse action=\"pull_case\" to get the latest status from Filevine.\nIf credentials are missing, returns setup instructions — do NOT retry without credentials.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["action","case_id"],"properties":{"action":{"enum":["push_case","pull_case","list_projects","push_document","push_note"],"type":"string"},"case_id":{"type":"string"},"note_text":{"type":"string"},"document_name":{"type":"string"},"document_base64":{"type":"string"},"filevine_project_id":{"type":"string"}}},"logicalName":"sync_filevine","displayName":"sync_filevine","title":"sync_filevine","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"export_bestcase","description":"[DOMAIN: Operations & Comms]\nTRIGGER: Run when attorney uses BestCase software and needs to import case data into it.\nDO NOT run as part of normal court filing workflow — this is a data export for external software.\nPREREQUISITE: case_id must exist in the system (create via /api/cases first).\nUse format=\"xml\" for BestCase import; format=\"summary\" for a human-readable checklist.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id"],"properties":{"format":{"enum":["xml","csv_bundle","summary"],"type":"string"},"case_id":{"type":"string"}}},"logicalName":"export_bestcase","displayName":"export_bestcase","title":"export_bestcase","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"analyze_chapter_options","description":"[DOMAIN: Intake & Math]\nTRIGGER: Run after ingest_client_intake when the client's best chapter is unclear, or when comparing Chapter 7 vs 13 vs 11.\nCompares all available chapters based on income, assets, debts, and means test result.\nReturns recommended_chapter with a full comparison table and disqualifiers.\nPREREQUISITE: Run run_means_test first if chapter is unclear — use its result here.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["state","household_size","monthly_income","total_secured_debt","total_unsecured_debt"],"properties":{"state":{"type":"string","maxLength":2,"minLength":2},"assets":{"type":"array","items":{"type":"object","required":["type","value","lien"],"properties":{"lien":{"type":"number"},"type":{"type":"string"},"value":{"type":"number"}}}},"case_id":{"type":"string"},"household_size":{"type":"integer","maximum":20,"minimum":1},"monthly_income":{"type":"number","minimum":0},"total_secured_debt":{"type":"number","minimum":0},"total_unsecured_debt":{"type":"number","minimum":0},"is_current_on_mortgage":{"type":"boolean"}}},"logicalName":"analyze_chapter_options","displayName":"analyze_chapter_options","title":"analyze_chapter_options","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"run_ch13_means_test","description":"[DOMAIN: Intake & Math]\nCalculates Chapter 13 means test (Official Forms 122C-1 and 122C-2).\nDetermines: above/below median, projected disposable income, minimum plan payment, and 36 vs 60 month commitment period.\nDistinct from run_means_test which only covers Chapter 7 (Forms 122A).\nAGENT INSTRUCTIONS: Use this for ALL Chapter 13 cases. The minimum_plan_payment output feeds directly into draft_chapter13_plan.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["state","household_size","current_monthly_income"],"properties":{"state":{"type":"string","maxLength":2,"minLength":2},"household_size":{"type":"integer","maximum":20,"minimum":1},"monthly_expenses":{"type":"object","properties":{"car_payment":{"type":"number"},"court_ordered":{"type":"number"},"mortgage_rent":{"type":"number"},"other_secured":{"type":"number"},"taxes_withheld":{"type":"number"},"health_insurance":{"type":"number"},"term_life_insurance":{"type":"number"}}},"current_monthly_income":{"type":"number","minimum":0}}},"logicalName":"run_ch13_means_test","displayName":"run_ch13_means_test","title":"run_ch13_means_test","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"check_credit_counseling","description":"[DOMAIN: Intake & Math]\nTracks the mandatory pre-filing credit counseling certificate (11 U.S.C. § 109(h)).\nThe certificate MUST be from an approved provider and completed within 180 days of filing.\nUse action=\"record\" to log the certificate. Use action=\"check\" to verify it is still valid.\nCRITICAL: A case filed without a valid certificate may be dismissed.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id","action"],"properties":{"action":{"enum":["record","check"],"type":"string"},"case_id":{"type":"string"},"provider":{"type":"string"},"certificate_date":{"type":"string"}}},"logicalName":"check_credit_counseling","displayName":"check_credit_counseling","title":"check_credit_counseling","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"analyze_asset_risk","description":"[DOMAIN: Intake & Math]\nAnalyzes all debtor assets to identify total non-exempt equity and trustee administration risk.\nAggregates exemption calculations across all assets. Flags assets the trustee will likely administer.\nPREREQUISITE: Run fetch_vehicle_value and fetch_property_value first for accurate asset values.\nIf trustee_will_administer=true, alert attorney immediately — this is a critical case decision point.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id","state","assets"],"properties":{"state":{"type":"string","maxLength":2,"minLength":2},"assets":{"type":"array","items":{"type":"object","required":["asset_type","description","market_value","lien_balance"],"properties":{"asset_type":{"type":"string"},"lien_balance":{"type":"number","minimum":0},"market_value":{"type":"number","minimum":0}}}},"case_id":{"type":"string"},"is_married":{"type":"boolean","default":false},"use_federal":{"type":"boolean","default":false}}},"logicalName":"analyze_asset_risk","displayName":"analyze_asset_risk","title":"analyze_asset_risk","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"draft_chapter13_plan","description":"[DOMAIN: Document Factory]\nGenerates a formal Chapter 13 Plan under 11 U.S.C. § 1321 with full payment calculations.\nTests all three plan feasibility requirements: disposable income test, best interest of creditors, best efforts.\nPREREQUISITE: Run run_ch13_means_test to get monthly_disposable_income before calling this.\nOutput: monthly payment, 36/60-month plan document text, feasibility flags, cramdown opportunities.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id","debtor_name","district","monthly_disposable_income","plan_term","secured_debts","priority_debts","total_unsecured_debt"],"properties":{"case_id":{"type":"string"},"district":{"type":"string"},"plan_term":{"anyOf":[{"type":"number","const":36},{"type":"number","const":60}]},"debtor_name":{"type":"string"},"secured_debts":{"type":"array","items":{"type":"object","required":["creditor","monthly_payment","arrears","collateral"],"properties":{"arrears":{"type":"number","minimum":0},"creditor":{"type":"string"},"collateral":{"type":"string"},"monthly_payment":{"type":"number","minimum":0}}}},"priority_debts":{"type":"array","items":{"type":"object","required":["creditor","total_amount","description"],"properties":{"creditor":{"type":"string"},"total_amount":{"type":"number","minimum":0}}}},"total_unsecured_debt":{"type":"number","minimum":0},"monthly_disposable_income":{"type":"number","minimum":0}}},"logicalName":"draft_chapter13_plan","displayName":"draft_chapter13_plan","title":"draft_chapter13_plan","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"calculate_cramdown","description":"[DOMAIN: Intake & Math]\nCalculates Chapter 13 cramdown under 11 U.S.C. § 506(a) — bifurcates underwater secured debt into secured/unsecured portions.\nWARNING: Primary residence cannot be crammed down (§ 1322(b)(2) anti-modification rule).\nWARNING: Vehicles purchased within 910 days of filing cannot be crammed down (BAPCPA hanging paragraph).\nReturns: secured_portion, unsecured_deficiency, new_monthly_payment, monthly_savings vs original loan.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["collateral_value","loan_balance","interest_rate","remaining_term_months","asset_type"],"properties":{"asset_type":{"enum":["vehicle","real_property","other"],"type":"string"},"loan_balance":{"type":"number","minimum":0},"creditor_name":{"type":"string"},"interest_rate":{"type":"number","maximum":1,"minimum":0},"collateral_value":{"type":"number","minimum":0},"remaining_term_months":{"type":"integer","maximum":9007199254740991,"minimum":1}}},"logicalName":"calculate_cramdown","displayName":"calculate_cramdown","title":"calculate_cramdown","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"track_plan_payments","description":"[DOMAIN: Operations & Comms]\nRecords and monitors Chapter 13 plan payment history.\nUse action=\"record\" to log each payment. Use action=\"status\" for compliance summary. Use action=\"list\" for full history.\nPREREQUISITE: draft_chapter13_plan must have been run first.\nCRITICAL: Multiple short payments can result in trustee motion to dismiss — monitor closely.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id","action"],"properties":{"action":{"enum":["record","status"],"type":"string"},"case_id":{"type":"string"},"payment_date":{"type":"string"},"payment_amount":{"type":"number","minimum":0}}},"logicalName":"track_plan_payments","displayName":"track_plan_payments","title":"track_plan_payments","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"analyze_claims","description":"[DOMAIN: Claims & Creditors]\nAnalyzes filed proofs of claim against the claims bar date: detects late filings, duplicates, over-claimed amounts.\nScreens all claims for non-dischargeable debt indicators (student loans, taxes, DSO, fraud, DUI per § 523(a)).\nPREREQUISITE: Claims bar date must be known. Run scrape_claims_register first if available.\nReturns: objection_candidates with specific legal grounds, non_dischargeable_flags for attorney review.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id","claims","claims_bar_date"],"properties":{"claims":{"type":"array","items":{"type":"object","required":["creditor","amount","type","filed_date"],"properties":{"type":{"enum":["secured","priority","unsecured"],"type":"string"},"basis":{"type":"string"},"amount":{"type":"number"},"creditor":{"type":"string"},"filed_date":{"type":"string"},"claim_number":{"type":"string"}}}},"case_id":{"type":"string"},"claims_bar_date":{"type":"string"},"scheduled_amounts":{"type":"array","items":{"type":"object","required":["creditor","scheduled_amount"],"properties":{"creditor":{"type":"string"},"scheduled_amount":{"type":"number"}}}}}},"logicalName":"analyze_claims","displayName":"analyze_claims","title":"analyze_claims","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"draft_objection_to_claim","description":"[DOMAIN: Document Factory]\nGenerates a formal Objection to Claim compliant with FRBP 3007.\nSupports 8 objection grounds: no_basis, amount_disputed, duplicate, late_filed, statute_of_limitations, improper_interest, improper_fees, not_owed.\nPREREQUISITE: Run analyze_claims first — it identifies objection_candidates with the correct grounds.\nOutput: motion_text ready for ECF filing, certificate of service, 30-day notice period warning.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id","case_number","debtor_name","district","creditor_name","claim_number","claim_amount","objection_grounds"],"properties":{"case_id":{"type":"string"},"district":{"type":"string"},"case_number":{"type":"string"},"debtor_name":{"type":"string"},"claim_amount":{"type":"number"},"claim_number":{"type":"string"},"creditor_name":{"type":"string"},"supporting_facts":{"type":"string"},"objection_grounds":{"type":"array","items":{"enum":["no_basis","amount_disputed","duplicate","late_filed","statute_of_limitations","improper_interest","improper_fees","not_owed"],"type":"string"}}}},"logicalName":"draft_objection_to_claim","displayName":"draft_objection_to_claim","title":"draft_objection_to_claim","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"analyze_preference_payments","description":"[DOMAIN: Claims & Creditors]\nIdentifies § 547 preference payments — transfers within 90 days pre-filing (or 1 year for insiders) that may be clawed back.\nApplies ordinary course defense (§547(c)(2)), new value defense (§547(c)(4)), and $600 minimum threshold.\nCRITICAL: Attorney must review and advise client on preference exposure BEFORE filing.\nReturns: avoidable_transfers[], net_avoidable_total, defense analysis per payment.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id","filing_date","payments"],"properties":{"case_id":{"type":"string"},"payments":{"type":"array","items":{"type":"object","required":["creditor","amount","payment_date","is_insider","ordinary_course"],"properties":{"amount":{"type":"number"},"creditor":{"type":"string"},"is_insider":{"type":"boolean"},"payment_date":{"type":"string"},"ordinary_course":{"type":"boolean"},"new_value_received":{"type":"number"}}}},"filing_date":{"type":"string"},"total_unsecured_debt":{"type":"number"}}},"logicalName":"analyze_preference_payments","displayName":"analyze_preference_payments","title":"analyze_preference_payments","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"analyze_fraudulent_transfers","description":"[DOMAIN: Claims & Creditors]\nFlags § 548 fraudulent transfers (2-year lookback) and state UVTA transfers (up to 4 years).\nTests for actual fraud (badges: insider transfer, below fair value, insolvent at time) and constructive fraud.\nCRITICAL: Fraudulent transfer exposure can derail a case and expose the debtor to §727 discharge denial.\nReturns: flagged_transfers[] with risk_level (high/medium/low), total_at_risk, statute references.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id","filing_date","transfers"],"properties":{"case_id":{"type":"string"},"transfers":{"type":"array","items":{"type":"object","required":["recipient","amount","transfer_date","relationship","consideration_received"],"properties":{"amount":{"type":"number"},"recipient":{"type":"string"},"relationship":{"enum":["family","business_partner","arm_length","unknown"],"type":"string"},"transfer_date":{"type":"string"},"consideration_received":{"type":"number"}}}},"filing_date":{"type":"string"}}},"logicalName":"analyze_fraudulent_transfers","displayName":"analyze_fraudulent_transfers","title":"analyze_fraudulent_transfers","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"check_automatic_stay","description":"[DOMAIN: Automatic Stay]\nEvaluates whether a post-petition creditor action violates the automatic stay (§ 362(a)).\nChecks §362(b) exceptions: DSO collection, pre-judgment eviction (§362(b)(22)), government regulatory action (§362(b)(4)).\nIf violation confirmed: calculates §362(k) damages (actual + attorneys fees + punitive) and recommended emergency action.\nURGENT: Wage garnishments and bank levies need emergency motions — call draft_stay_violation_motion immediately.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id","creditor_name","action_type","action_date"],"properties":{"case_id":{"type":"string"},"action_date":{"type":"string"},"action_type":{"enum":["collection_call","lawsuit_filed","wage_garnishment","bank_levy","repossession","foreclosure_continued","utility_shutoff","eviction","license_revocation"],"type":"string"},"filing_date":{"type":"string"},"creditor_name":{"type":"string"},"action_description":{"type":"string"}}},"logicalName":"check_automatic_stay","displayName":"check_automatic_stay","title":"check_automatic_stay","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"draft_stay_violation_motion","description":"[DOMAIN: Automatic Stay]\nGenerates Motion for Contempt and Sanctions for willful automatic stay violation under § 362(k).\nOptionally includes a pre-motion demand letter (recommended — gives creditor 24-48 hours to cure before filing).\nPREREQUISITE: Run check_automatic_stay first to confirm violation and document §362(b) exception analysis.\nOutput: motion_text ready for ECF, demand_letter, filing_instructions, damages_claimed breakdown.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id","case_number","debtor_name","district","creditor_name","violation_description","violation_date"],"properties":{"case_id":{"type":"string"},"district":{"type":"string"},"case_number":{"type":"string"},"debtor_name":{"type":"string"},"creditor_name":{"type":"string"},"damages_amount":{"type":"number"},"violation_date":{"type":"string"},"include_demand_letter":{"type":"boolean","default":true},"violation_description":{"type":"string"}}},"logicalName":"draft_stay_violation_motion","displayName":"draft_stay_violation_motion","title":"draft_stay_violation_motion","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"prepare_341_meeting","description":"[DOMAIN: Operations & Comms]\nGenerates a comprehensive 341 Meeting of Creditors preparation guide for the debtor.\nReturns: chapter-specific standard trustee questions, case-specific red flag alerts from Case.data, documents checklist, debtor prep tips.\nCase-specific questions are auto-generated from prior tool outputs: non-exempt assets, preference payments, fraudulent transfers.\nRun this 1–2 weeks before the 341 meeting date to give the client time to prepare.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id","chapter","trustee_district"],"properties":{"case_id":{"type":"string"},"chapter":{"enum":["7","11","13"],"type":"string"},"trustee_name":{"type":"string"},"trustee_district":{"type":"string"}}},"logicalName":"prepare_341_meeting","displayName":"prepare_341_meeting","title":"prepare_341_meeting","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"assess_discharge_eligibility","description":"[DOMAIN: Discharge]\nChecks Chapter 7 (§ 727) and Chapter 13 (§ 1328) discharge eligibility.\nVerifies: prior bankruptcy bars (8-year Ch.7, 4-year, 2-year), §523(a) non-dischargeable debt types, financial management course requirement.\nFor Ch.13: verifies all plan payments made and DSO current status.\nReturns: eligible flag, estimated_discharge_date, non_dischargeable_debts[], disqualifiers[].","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id","chapter"],"properties":{"case_id":{"type":"string"},"chapter":{"enum":["7","13"],"type":"string"},"prior_bankruptcies":{"type":"array","items":{"type":"object","required":["chapter","discharge_date","dismissed"],"properties":{"chapter":{"type":"string"},"dismissed":{"type":"boolean"},"discharge_date":{"type":"string"}}}},"has_fraud_allegations":{"type":"boolean"},"all_plan_payments_made":{"type":"boolean"},"completed_financial_management_course":{"type":"boolean"}}},"logicalName":"assess_discharge_eligibility","displayName":"assess_discharge_eligibility","title":"assess_discharge_eligibility","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"record_feedback","description":"[DOMAIN: Self-Learning]\nRecords attorney feedback on any tool output (rating 1–5) and optionally a corrected response.\nLow ratings (≤2) trigger a case pattern update so the MCP learns from mistakes.\nHigh ratings (≥4) reinforce the approach as a preferred pattern for this attorney.\nThis is how the MCP self-improves — run it whenever a tool output was wrong or particularly good.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["tool_call_id","user_id","rating"],"properties":{"tags":{"type":"array","items":{"type":"string"}},"rating":{"type":"integer","maximum":5,"minimum":1},"user_id":{"type":"string"},"correction":{"type":"string"},"tool_call_id":{"type":"string"}}},"logicalName":"record_feedback","displayName":"record_feedback","title":"record_feedback","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"get_recommendations","description":"[DOMAIN: Self-Learning]\nSuggests the next tools to run and pre-filled default inputs based on this attorney's case history and learned patterns.\nUses ToolCallLog history + CasePattern preferences to tailor suggestions per attorney.\nRun at the start of each session or when unsure what to do next in a case workflow.\nReturns: recommended_next_tools[] with suggested_inputs, learned_preferences, similar_case_outcomes.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id","user_id","current_phase"],"properties":{"case_id":{"type":"string"},"user_id":{"type":"string"},"current_phase":{"enum":["pre_filing","just_filed","post_341","claims_period","plan_active","discharge_pending"],"type":"string"}}},"logicalName":"get_recommendations","displayName":"get_recommendations","title":"get_recommendations","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"get_practice_insights","description":"[DOMAIN: Self-Learning]\nAnalytics dashboard for this attorney's bankruptcy practice over a time period.\nShows: most-used tools, avg case duration, discharge rate, common objection grounds, exemption strategy patterns.\nUse to identify inefficiencies, see where time is spent, and measure case outcomes over time.\nReturns: insights[], metrics{}, suggestions_to_improve_efficiency[].","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["user_id"],"properties":{"user_id":{"type":"string"},"time_period_days":{"type":"integer","default":90,"maximum":9007199254740991,"minimum":-9007199254740991}}},"logicalName":"get_practice_insights","displayName":"get_practice_insights","title":"get_practice_insights","annotations":{"untrustedContentHint":true,"readOnlyHint":true}}],"toolSource":"directory_preview","agentAction":"both","installLinks":[{"id":"cursor","label":"Cursor","href":"cursor://anysphere.cursor-deeplink/mcp/install?name=Bankruptcy&config=eyJ1cmwiOiAiaHR0cHM6Ly9iay1lbmdpbmUuY29tL2FwaS9tY3AifQ%3D%3D"},{"id":"vscode","label":"VS Code","href":"vscode:mcp/install?%7B%22name%22%3A%22Bankruptcy%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fbk-engine.com%2Fapi%2Fmcp%22%7D"},{"id":"vscode-insiders","label":"VS Code Insiders","href":"vscode-insiders:mcp/install?%7B%22name%22%3A%22Bankruptcy%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fbk-engine.com%2Fapi%2Fmcp%22%7D"},{"id":"claude-web","label":"Claude.ai","href":"https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Bankruptcy&connectorUrl=https%3A%2F%2Fbk-engine.com%2Fapi%2Fmcp"},{"id":"codex","label":"Codex","copyText":"codex mcp add \"Bankruptcy\" --url \"https://bk-engine.com/api/mcp\""},{"id":"chatgpt","label":"ChatGPT","href":"https://www.mcpbundles.com/docs/integrations/chatgpt"}],"catalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/bk-engine-mcp-fe8a1c5ad9","callUrl":"https://www.mcpbundles.com/api/directory/v1/servers/bk-engine-mcp-fe8a1c5ad9/tools/{tool}","mcpServerUrl":"https://bk-engine.com/api/mcp","liveCatalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/bk-engine-mcp-fe8a1c5ad9?live=1"}