---
name: fingov-deterministic-mcp
description: Agent skill handbook for FinGov Deterministic MCP Engine (https://devour-fin.fastmesh.dev, SuperBus https://mcp.fastmesh.dev/mcp, local upstream port 9053) covering 25 verified financial, regulatory, customs, patent, FDA, energy, geo, and public tender APIs with 0-LLM deterministic normalization, decimal.Decimal precision, 7d-30d cache, and $0 empty/error billing.
---

# FinGov Deterministic MCP Engine (`devour-fin.fastmesh.dev`) — Agent Skill Handbook

> **Hard Runtime Guarantees**:
> - **25 Verified Official Endpoints** across >=6 domains (Finance/Macro, Entities/Customs, Pharma/Patents, Public Tenders, Energy/Geo).
> - **0-LLM Deterministic Runtime**: Pure Python 3 stdlib XML/CSV/SDMX/JSON parsing with `decimal.Decimal` precision for financial, rate, tariff, and award fields.
> - **7d-30d Cross-Tenant Verified-Hit Cache**: Validated non-empty responses are cached 7 to 30 days; second hit requires 0 upstream HTTP calls.
> - **$0 Empty/Error Billing**: HTML login/challenge pages (anti-fake-200), HTTP 422 invalid inputs, upstream errors, and empty result sets strictly return `billed_micros: 0` (`billable: false`) and are never cached.
> - **Zero Data Resale & SSRF Protection**: Private IP ranges, metadata hosts, and `file://` schemes are rejected; caller headers/secrets are never persisted or echoed.

## Quick Endpoints
- `GET https://devour-fin.fastmesh.dev/health` — Runtime health and organ count (`25`)
- `GET https://devour-fin.fastmesh.dev/v1/organs` — List all `25` compiled organ schemas and TTL policies
- `POST https://devour-fin.fastmesh.dev/v1/organs/{slug}/invoke` — Invoke an organ (`params`/`inputs`/`arguments`, `tenant_id`, `no_cache`, `dry_run`, BYOK headers)
- `POST https://devour-fin.fastmesh.dev/v1/devour/verify-all` — Batch verify organs (`mode: "manifest"` or `"live"`)
- `POST https://devour-fin.fastmesh.dev/mcp` — JSON-RPC 2.0 MCP endpoint (`initialize`, `tools/list` exposing all 25 `<slug>` tools + `fingov_verify_all`, `tools/call`)
- `POST https://mcp.fastmesh.dev/mcp` — Unified FastMesh SuperBus MCP endpoint (mounts `fingov:<slug>` -> upstream port `9053` `/v1/organs/<slug>/invoke`)
- `GET https://devour-fin.fastmesh.dev/openapi.json` — OpenAPI 3.1 contract

## Example MCP & REST Calls

```bash
# 1. List available MCP tools
curl -fsSL -X POST "https://devour-fin.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

# 2. Invoke an organ directly via REST
curl -fsSL -X POST "https://devour-fin.fastmesh.dev/v1/organs/sec_edgar_submissions/invoke" \
  -H "Content-Type: application/json" \
  -d '{"params": {"cik": "0000320193"}}'
```

## MCP Client Configuration (`mcp.json`)

```json
{
  "mcpServers": {
    "fingov": {
      "url": "https://devour-fin.fastmesh.dev/mcp",
      "superbusUrl": "https://mcp.fastmesh.dev/mcp",
      "localPort": 9053
    }
  }
}
```

## Pricing Tiers (Prepaid Credits, Never Expire)
- **Starter (`$19`)**: 1,266+ verified calls ($19.00 value) — https://www.creem.io/product/prod_devour_fin_starter_19
- **Pro (`$79`)**: 6,000+ verified calls ($90.00 value incl. $11 bonus) — https://www.creem.io/product/prod_devour_fin_pro_79
- **Scale (`$249`)**: 20,666+ verified calls ($310.00 value incl. $61 bonus) — https://www.creem.io/product/prod_devour_fin_scale_249

## 25 Verified Organ Catalog

| Slug | Official Source | Category | Format | Cache TTL |
| :--- | :--- | :--- | :--- | :--- |
| `sec_edgar_submissions` | SEC EDGAR Company Submissions | finance_macro | `json` | `7d` |
| `ecb_eurofx_daily_xml` | ECB Euro Foreign Exchange Reference Rates (XML) | finance_macro | `xml` | `7d` |
| `ecb_sdmx_fx_rates` | ECB SDMX Exchange Rate Time Series | finance_macro | `sdmx` | `7d` |
| `frankfurter_fx_latest` | Frankfurter ECB FX Reference Rates | finance_macro | `json` | `7d` |
| `us_treasury_debt_penny` | US Treasury Fiscal Data Debt to the Penny | finance_macro | `json` | `7d` |
| `bank_of_canada_fx_csv` | Bank of Canada Valet FX Observations (CSV) | finance_macro | `csv` | `7d` |
| `world_bank_indicator` | World Bank Development & Macro Indicators | finance_macro | `json` | `30d` |
| `gleif_lei_records` | GLEIF Global LEI Registry Search | entities_trade_customs | `json` | `14d` |
| `eu_vies_vat_check` | EU VIES VAT Number Validation | entities_trade_customs | `json` | `7d` |
| `usitc_hts_search` | USITC Harmonized Tariff Schedule Search | entities_trade_customs | `json` | `30d` |
| `un_comtrade_preview` | UN Comtrade Public Trade Data Preview | entities_trade_customs | `json` | `30d` |
| `openfda_drug_enforcement` | openFDA Drug Recalls & Enforcement Reports | pharma_healthcare | `json` | `7d` |
| `cms_nppes_npi` | US CMS NPPES National Provider Identifier Registry | pharma_healthcare | `json` | `14d` |
| `clinicaltrials_studies` | ClinicalTrials.gov v2 Studies Search | pharma_healthcare | `json` | `7d` |
| `federal_register_docs` | US Federal Register Regulatory Documents | regulatory_research | `json` | `7d` |
| `uk_legislation_feed` | UK Legislation New Acts & SIs Atom XML Feed | regulatory_research | `xml` | `7d` |
| `nih_reporter_projects` | NIH RePORTER Funded Research & IP Grants | regulatory_research | `json` | `14d` |
| `usaspending_awards` | USAspending.gov Federal Awards Search | tenders_grants | `json` | `14d` |
| `grants_gov_search2` | Grants.gov Public Opportunities Search | tenders_grants | `json` | `7d` |
| `eu_ted_notices` | EU TED Public Procurement Notices v3 | tenders_grants | `json` | `7d` |
| `open_meteo_forecast` | Open-Meteo Weather & Solar Irradiance Forecast | energy_climate | `json` | `7d` |
| `usgs_earthquakes_csv` | USGS Earthquake Catalog Feed (CSV) | energy_climate | `csv` | `7d` |
| `uk_carbon_intensity` | UK National Grid Carbon Intensity API | energy_climate | `json` | `7d` |
| `us_census_geocoder` | US Census Bureau Address Geocoder | geo_demographics | `json` | `30d` |
| `nominatim_osm_search` | OpenStreetMap Nominatim Geocoding Search | geo_demographics | `json` | `30d` |
