{"schema_version": "1.0.0", "protocol": "mcp", "protocol_version": "2025-03-26", "transport": "streamable-http-jsonrpc", "server": {"name": "legal-anything", "display_name": "Legal-Anything", "version": "1.0.0", "endpoint": "https://legal.fastmesh.dev/mcp", "openapi_url": "https://legal.fastmesh.dev/openapi.json", "llms_txt_url": "https://legal.fastmesh.dev/llms.txt", "skill_md_url": "https://legal.fastmesh.dev/skill.md", "contact_email": "legal-ops@fastmesh.dev"}, "tool_disclaimer": "Legal-Anything is a deterministic commercial contract clause pre-review software tool. It is not a law firm and does not provide legal advice or legal representation.", "privacy_commitment": {"zero_client_data_resale": true, "zero_third_party_model_training": true, "unbilled_invalid_422_policy": "Empty, placeholder, or unparseable contract text returns HTTP 422 with billed_micros=0."}, "pricing": {"fee_model": "fixed_non_contingent_prepaid_credits", "bazaar_toll_micros": 190000, "bazaar_toll_usd": 0.19, "repeat_tenant_cache_percent": 10, "treg_hub_commission_percent": 0, "creem_prepaid_packs": [{"sku_id": "sku_legal_starter_19", "price_usd": 19, "credits": 5}, {"sku_id": "sku_legal_pro_79", "price_usd": 79, "credits": 30}, {"sku_id": "sku_legal_agency_199", "price_usd": 199, "credits": 100}]}, "capabilities": {"tools": {"listChanged": false}}, "methods": ["initialize", "tools/list", "tools/call"], "tools": [{"name": "legal_analyze_contract", "description": "Deterministically scan a commercial contract (SaaS MSA, NDA, GDPR DPA, SOW/Supplier, or Channel/Lease) for high-risk trap clauses across 48 rules, returning a 0-100 risk score, trap findings, copy-paste counter-redline wording, 3-tier negotiation fallbacks, and SHA-256 proof. Deterministic software pre-review only; not a law firm and does not provide legal advice.", "inputSchema": {"type": "object", "required": ["contract_text"], "properties": {"contract_text": {"type": "string", "minLength": 40, "description": "Raw commercial contract text (plain text, Markdown, or OCR output)."}, "contract_type": {"type": "string", "enum": ["auto", "saas_msa", "nda", "dpa", "sow_supplier", "channel_lease"], "default": "auto", "description": "Contract genre hint or automatic detection."}, "contract_title": {"type": "string", "description": "Optional human-readable document title."}, "tenant_id": {"type": "string", "description": "Optional tenant identifier for cross-tenant ArchiveCache metering."}, "no_cache": {"type": "boolean", "default": false, "description": "Bypass cross-tenant ArchiveCache and force live deterministic evaluation."}}}}, {"name": "legal_generate_redlines", "description": "Generate copy-paste counter-redline clauses, negotiation email snippets, and 3-tier fallback positions (Tier 1 Ideal / Tier 2 Balanced / Tier 3 Walk-Away) from raw clause text or explicit trap rule IDs. Deterministic software pre-review only; not legal advice.", "inputSchema": {"type": "object", "properties": {"clause_text": {"type": "string", "description": "Raw clause text to analyze and generate replacement language for."}, "rule_ids": {"type": "array", "items": {"type": "string"}, "description": "Explicit list of trap rule IDs to render counter-redline packs for."}, "contract_type": {"type": "string", "enum": ["auto", "saas_msa", "nda", "dpa", "sow_supplier", "channel_lease"], "default": "auto"}, "target_clause_heading": {"type": "string", "default": "Target Clause", "description": "Optional target clause heading label for rule_ids redline output."}}}}, {"name": "legal_list_rules", "description": "List all 48 loaded deterministic commercial contract trap detection rules across all 5 supported genres (SaaS MSA, NDA, GDPR DPA, SOW/Supplier, Channel/Lease) plus cross-genre general traps.", "inputSchema": {"type": "object", "properties": {"genre": {"type": "string", "enum": ["saas_msa", "nda", "dpa", "sow_supplier", "channel_lease"], "description": "Optional genre filter."}}}}, {"name": "legal_batch_analyze", "description": "Batch scan an array of commercial contracts in one deterministic pass, isolating invalid inputs at HTTP 422 ($0 billed) without blocking valid contracts. Deterministic software pre-review only; not legal advice.", "inputSchema": {"type": "object", "required": ["contracts"], "properties": {"contracts": {"type": "array", "minItems": 1, "items": {"type": "object", "required": ["contract_text"], "properties": {"contract_text": {"type": "string"}, "contract_type": {"type": "string", "enum": ["auto", "saas_msa", "nda", "dpa", "sow_supplier", "channel_lease"], "default": "auto"}, "contract_title": {"type": "string"}}}}, "tenant_id": {"type": "string", "description": "Optional tenant identifier for cross-tenant ArchiveCache metering."}, "no_cache": {"type": "boolean", "default": false, "description": "Bypass cross-tenant ArchiveCache for every contract in the batch."}}}}]}