Repository avatar
AI Tools
v1.1.1
active

pit-parquet-catalog

dev.bitemporal/pit-parquet-catalog

Zero-lookahead Point-in-Time AS OF slices across 49 SEC, EPA, WARN, energy & AI datasets.

Documentation

bitemporal.dev: Point-in-Time Parquet Catalog MCP & REST API

bitemporal.dev MCP connector

Hosted Streamable-HTTP Model Context Protocol (MCP) server and REST API providing zero-lookahead Point-in-Time AS OF queries, SQL aggregations, and byte-range Parquet snapshots across 49 bitemporal datasets spanning SEC Form 4/13F/8-K/424B5 filings, EPA CEMS emissions, state WARN layoff notices, US ISO/RTO generator interconnection queues, FDA/EMA/BASG drug & device shortages, clinical trials, sanctions lists, and AI/GPU cloud pricing feeds.

Every row tracks dual timestamps (known_time_utc and event_time_utc / event_period_end_utc) so backtests, compliance checks, and autonomous research agents only observe facts actually known at a given historical cutoff.

Quick Start

Unauthenticated callers can discover all 49 datasets, inspect Arrow schemas and known_time_utc bounds, download 100-row sample Parquet files, and run preview_pit_rows for free (10 preview calls/day per IP, capped at 3 latest rows per call). Pass an optional Stripe Bearer API key (bt_live_...) or pay per query with USDC on Base (eip155:8453) via x402 v2 for AS OF time-travel and SQL aggregations.

Claude Code

claude mcp add --transport http bitemporal https://bitemporal.dev/mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "bitemporal": {
      "url": "https://bitemporal.dev/mcp"
    }
  }
}

Cursor (.cursor/mcp.json)

With an optional Bearer API key:

{
  "mcpServers": {
    "bitemporal": {
      "url": "https://bitemporal.dev/mcp",
      "headers": {
        "Authorization": "Bearer bt_live_YOUR_API_KEY"
      }
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "bitemporal": {
      "type": "http",
      "url": "https://bitemporal.dev/mcp"
    }
  }
}

Direct Sample Parquet & x402 REST Access

Mount free 100-row Parquet samples directly in DuckDB:

INSTALL httpfs; LOAD httpfs;
SELECT * FROM read_parquet('https://bitemporal.dev/v1/sample/state_warn_v1.parquet') LIMIT 10;

Or invoke pay-per-query HTTP endpoints with @x402/fetch or the Python x402 client:

  • POST https://bitemporal.dev/v1/pit/slice ($0.02 USDC / call, up to 1,000 rows, supports as_of_utc)
  • POST https://bitemporal.dev/v1/pit/aggregate ($0.08 USDC / call, COUNT/SUM/AVG/MIN/MAX or up to 25,000 rows)
  • GET/POST https://bitemporal.dev/v1/pit/preview (Free 3-row live preview, 10 calls/day per IP)

MCP Tool Reference

ToolCostAnnotationsArguments
list_datasetsFree ($0.00)readOnlyHint: true, destructiveHint: falseNone - returns all 49 datasets with row counts, known_at / effective_at bounds, and sample Parquet URLs.
describe_datasetFree ($0.00)readOnlyHint: true, destructiveHint: falsedataset_id (string, required) - returns Arrow schema columns, temporal bounds, and a 5-row sample preview.
preview_pit_rowsFree ($0.00, 10/day/IP)readOnlyHint: true, destructiveHint: falsedataset_id (required), entity_id, ticker, cik, key, where_sql, filters, limit (1-3). Latest-record live preview without as_of_utc or aggregations.
query_pit_snapshot$0.02 slice / $0.08 aggregate USDCreadOnlyHint: true, destructiveHint: falsedataset_id (required), entity_id, ticker, cik, key, as_of_utc, where_sql, filters, group_by, aggregation (COUNT/SUM/AVG/MIN/MAX), agg_column, limit (1-25,000).

Pricing & Authentication

Access MethodPriceDetails
Free Discovery & Samples$0Full /v1/catalog, Arrow schemas, 100-row sample Parquet downloads, and list_datasets / describe_dataset.
Free Live Preview$0preview_pit_rows / /v1/pit/preview: 10 calls/day per IP, capped at 3 latest rows.
x402 v2 Pay-Per-Query (Base USDC)$0.02 - $0.08Autonomous agent payments via PAYMENT-SIGNATURE on Base (eip155:8453, USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913).
Single-Dataset 30-Day Pass$19 one-timeUnlimited authenticated HTTP & MCP queries for one dataset (Pricing).
Full-Catalog 30-Day Pass$49 one-time30-day access across all 49 Parquet datasets and Bearer API bypass (Upgrade).
Ongoing Catalog Subscription$39 / monthContinuous access, daily incremental releases, and Bearer API bypass (Subscribe).

No installation packages available.

Remote