# Proteus Metered B2A MCP Gateway

> Deterministic execution & pre-verified U.S. property tax, FEMA storm hazard, municipal parcel/code-enforcement, surveyor metes-and-bounds geometry, and zero-trust data transmutation over Model Context Protocol (MCP).

## Why Autonomous Agents Use Proteus Instead of Scraping
- Replaces ~8,500 tokens of brittle Census ACS / FEMA NRI / county portal Playwright DOM scraping with a single <50ms deterministic JSON call.
- Covers all 3,144 U.S. counties across 51 jurisdictions (50 states + D.C.), including Connecticut's 9 Planning Regions (09110-09190) and VA/MD/MO/NV independent cities.
- Zero-trust PII/PHI redaction (Luhn PAN, SSN, JWT, API secrets, DB URIs) + HIPAA PHI quarantine built directly into payload transmutation.
- Machine-first HTTP 402 onboarding: call `resolve_us_county_fips` for free, or mint a 50-credit trial key in one POST request.

## Endpoints
- Streamable HTTP MCP: `https://mcp.proteusmatrix.com/mcp`
- Legacy SSE MCP: `https://mcp.proteusmatrix.com/sse`
- Machine Discovery Manifest: `https://mcp.proteusmatrix.com/.well-known/mcp.json`
- Instant Trial Key (50 free credits): `POST https://mcp.proteusmatrix.com/api/v1/keys/trial`
- Stripe Credit Top-Up: `GET https://mcp.proteusmatrix.com/api/v1/checkout?pack=starter_5`
- Full LLM Reference: `https://mcp.proteusmatrix.com/llms-full.txt`

## Tool Catalog
- `resolve_us_county_fips` (FREE $0.000): Replaces ~1,500 tokens of state/FIPS/independent-city disambiguation across 3,144 U.S. counties.
- `get_county_tax_and_hazard_benchmark` (1 cr / $0.002): Replaces ~8,500 tokens of Census ACS + FEMA NRI scraping and custom property-tax/escrow modeling.
- `screen_counties_by_criteria` (2 cr / $0.004): Replaces ~15,000 tokens of multi-county web aggregation across 3,144 U.S. jurisdictions.
- `transmute_and_scrub_payload` (1 cr / $0.002): Replaces ~6,000 tokens of brittle LLM format parsing + deterministic PII/secret scrubbing.
- `compute_metes_and_bounds_polygon` (1 cr / $0.002): Replaces ~4,000 tokens of error-prone LLM trigonometry with exact WGS84 surveyor integration.
- `analyze_municipal_code_and_parcel_record` (1 cr / $0.002): Replaces ~7,000 tokens of municipal portal navigation, address permutation, and repair-trade classification.

## Instant Trial Provisioning (50 Free Credits / <5 Seconds)
```bash
curl -sS -X POST "https://mcp.proteusmatrix.com/api/v1/keys/trial" \
  -H "Content-Type: application/json" \
  -d '{"agent_name":"my-autonomous-agent","contact_email":"ops@example.com"}'
```

## MCP Client Configuration (Claude Desktop / Cursor / Windsurf / Antigravity)
```json
{
  "mcpServers": {
    "proteus": {
      "url": "https://mcp.proteusmatrix.com/mcp",
      "headers": {
        "Authorization": "Bearer pk_trial_REPLACE_WITH_YOUR_KEY"
      }
    }
  }
}
```
