Bank of Canada Valet FX Observations (CSV) (bank_of_canada_fx_csv): Deterministic MCP & Cached JSON Guide
Connect AI agents and backend pipelines to Bank of Canada Valet FX Observations (CSV) (https://www.bankofcanada.ca) via https://devour-fin.fastmesh.dev/v1/organs/bank_of_canada_fx_csv/invoke and https://mcp.fastmesh.dev/mcp. Upstream CSV payloads are parsed deterministically with a 7-day cross-tenant cache.
1. Direct REST & MCP Invocation
curl -fsSL -X POST "https://devour-fin.fastmesh.dev/v1/organs/bank_of_canada_fx_csv/invoke" \
-H "Content-Type: application/json" \
-d '{"params": {"series": "FXUSDCAD", "limit": 3}}'
JSON-RPC 2.0 MCP call via https://devour-fin.fastmesh.dev/mcp or SuperBus https://mcp.fastmesh.dev/mcp (local upstream port 9053):
{
"jsonrpc": "2.0",
"id": 15,
"method": "tools/call",
"params": {
"name": "bank_of_canada_fx_csv",
"arguments": {
"series": "FXUSDCAD",
"limit": 3
}
}
}
2. Deterministic Normalized Output Contract
{
"ok": true,
"slug": "bank_of_canada_fx_csv",
"superbus_id": "fingov:bank_of_canada_fx_csv",
"hand_id": "fingov_bank_of_canada_fx_csv_v1",
"source": "Bank of Canada Valet FX Observations (CSV)",
"verified": true,
"auth_mode": "public_no_auth",
"response_format": "csv",
"cache_ttl_days": 7,
"cache_hit": true,
"upstream_calls": 0,
"charged_micros": 0,
"zero_charge_on_empty": true,
"decimal_fields": [
"FXUSDCAD",
"value"
],
"receipt_sha256": "sha256_verified_evidence_digest",
"sample_schema_fields": [
"SERIES.id",
"SERIES.label",
"OBSERVATIONS.date",
"OBSERVATIONS.FXUSDCAD"
]
}
3. Covered Official Endpoints & Cache Policy
| Organ Slug | Official Source | Format | Cache TTL | Decimal Fields |
|---|---|---|---|---|
bank_of_canada_fx_csv | Bank of Canada Valet FX Observations (CSV) | CSV | 7 days | FXUSDCAD, value |
4. Engineering Guarantees & Anti-Fake-200 Controls
- SuperBus & Organ Identity: Exposed as MCP tool bank_of_canada_fx_csv (fingov:bank_of_canada_fx_csv on SuperBus, hand_id: fingov_bank_of_canada_fx_csv_v1) from Bank of Canada.
- Upstream Endpoint: https://www.bankofcanada.ca/valet/observations/{series}/csv?recent={limit} (verified HTTP 200, auth: public_no_auth).
- Empty-Result $0 Rule: Treat CSV with 0 rows after OBSERVATIONS header as empty ($0 billing, do not cache).
- Header & Rate Policy: Public Valet API; multi-section CSV begins observations after '"OBSERVATIONS"' marker. Required headers: {"User-Agent": "FinGovMCP/1.0 (+https://devour-fin.fastmesh.dev; compliance-bot@fastmesh.dev)"}.
- Cache & Second-Hit Economics: Verified hits are cached for 7 days; repeat hits consume 0 upstream requests.
- Decimal Fields: Lossless decimal.Decimal parsing on: FXUSDCAD, value.
5. Prepaid Credit Tiers (Never Expire) & Agent Manifests
Start with the 5-second Try-Now explorer at devour-fin.fastmesh.dev or unlock high-volume cached throughput with Starter ($19), Pro ($79), or Scale ($249) prepaid packs.
skill.md · llms.txt · openapi.json · GET /v1/organs · sitemap.xml
Related FinGov & Regulatory MCP Guides
FastMesh FinGov Deterministic Engine (devour-fin.fastmesh.dev) ·
SuperBus: https://mcp.fastmesh.dev/mcp · Support: ops@fastmesh.dev