hydra-regulatory-intelligence

hydra-regulatory-intelligence

Real-time regulatory intelligence for prediction markets. SEC, CFTC, Fed, FinCEN monitoring. 22 x402-paid MCP tools from $0.001 USDC on Base L2. Oracle data for UMA and Chainlink.

Category
访问服务器

README

HYDRA Arm 3 — Regulatory Intelligence SaaS

Deploy to Render

Production-ready regulatory intelligence API. Pay-per-use in USDC on Base via the x402 HTTP payment protocol. Zero AI dependency — all endpoints are rule-based and deterministic.

Live: hydra-api-nlnj.onrender.com | Docs: /docs | x402 Discovery: /.well-known/x402.json

MCP Server

HYDRA exposes all 22 paid + 12 free endpoints as MCP tools via Model Context Protocol.

Server URL: https://hydra-api-nlnj.onrender.com/mcp Transport: Streamable HTTP Manifest: /.well-known/mcp.json

{
  "mcpServers": {
    "hydra": {
      "url": "https://hydra-api-nlnj.onrender.com/mcp"
    }
  }
}

MCP Tools (22 paid + 12 free)

Tool Price Description
crypto_price $0.001 Token price, 24h change, market cap
gas_prices $0.001 Base L2 gas prices with cost estimates
wallet_balance $0.001 ETH and USDC balance on Base
tx_status $0.001 Transaction receipt lookup
parse_rss $0.002 RSS/Atom feed to structured JSON
scrape_url $0.005 URL to clean structured text
batch_utility $0.01 Batch up to 5 utility calls
market_feed $0.10 Last 10 regulatory events for prediction markets
market_events $0.50 Classified regulatory events by agency
regulatory_changes $1.00 Recent classified regulatory changes
regulatory_query $1.00 Regulatory Q&A with statutory citations
regulatory_scan $2.00 Full regulatory risk scan
market_signal $2.00 Scored regulatory signal for one market
regulatory_jurisdiction $3.00 Jurisdiction comparison with cost modeling
fed_signal $5.00 Pre-FOMC signal with rate probabilities
market_signals $5.00 Bulk scored signals for all markets
oracle_uma $5.00 UMA Optimistic Oracle assertion data
oracle_chainlink $5.00 Chainlink External Adapter response
alpha_report $10.00 Premium alpha with Kelly sizing
fed_decision $25.00 Real-time FOMC decision classification
market_resolution $25.00 Resolution verdict for market settlement
fed_resolution $50.00 FOMC resolution verdict for oracle submission

Payment: USDC on Base (chain 8453) via x402 protocol.

Endpoints & Pricing

Regulatory Intelligence

Method Endpoint Price Description
POST /v1/regulatory/scan $2.00 Full regulatory risk scan with scored impact assessment
POST /v1/regulatory/changes $1.00 SEC, CFTC, FinCEN, OCC, CFPB classified filings
POST /v1/regulatory/jurisdiction $3.00 Jurisdiction comparison across US states + international
POST /v1/regulatory/query $1.00 Regulatory Q&A with statutory citations

Prediction Market Signals

Method Endpoint Price Description
GET /v1/markets FREE All active regulatory prediction markets
GET /v1/markets/discovery FREE Market discovery with HYDRA domain coverage
GET /v1/markets/pricing FREE Endpoint pricing for bots
GET /v1/markets/feed $0.10 High-frequency micro event feed (bot polling)
POST /v1/markets/events $0.50 Classified regulatory events matched to markets
POST /v1/markets/signal/{id} $2.00 Deep signal for one prediction market
POST /v1/markets/signals $5.00 Bulk signals for all active markets
POST /v1/markets/alpha $10.00 Premium alpha report with Kelly sizing
POST /v1/markets/resolution $25.00 Oracle-grade resolution verdict

Fed Decision Package

Method Endpoint Price Description
POST /v1/fed/signal $5.00 Pre-FOMC signal with rate probability model
POST /v1/fed/decision $25.00 Real-time FOMC decision classification
POST /v1/fed/resolution $50.00 FOMC resolution verdict for oracles (UMA/Chainlink)

Oracle Integration

Method Endpoint Price Description
POST /v1/oracle/uma $5.00 UMA Optimistic Oracle assertion data
POST /v1/oracle/chainlink $5.00 Chainlink External Adapter format

Free System Endpoints

GET /health · GET /pricing · GET /docs · GET /openapi.json · GET /metrics · GET /metrics/revenue

x402 Payment Flow

1. POST /v1/regulatory/scan → 402 Payment Required
   Response includes: amount, wallet, chain_id, x402 machine-readable block

2. Send USDC to 0x2F12A73e1e08F3BCE12212005cCaBE2ACEf87141 on Base (chain 8453)

3. POST /v1/regulatory/scan + Header: X-Payment-Proof: 0x{tx_hash}
   → 200 OK (payment verified on-chain via Base RPC)

All payments are final. USDC on Base L2 is a permissionless transfer with no clawback.

Bot Integration

# 1. Discover markets (free)
curl https://hydra-api-nlnj.onrender.com/v1/markets/discovery

# 2. Check pricing (free)
curl https://hydra-api-nlnj.onrender.com/v1/markets/pricing

# 3. Poll feed every 5 min ($0.10 each)
curl -H "X-Payment-Proof: 0x..." https://hydra-api-nlnj.onrender.com/v1/markets/feed

# 4. Get signals before trading ($5.00)
curl -X POST -H "X-Payment-Proof: 0x..." -H "Content-Type: application/json" \
  -d '{"platform":"all","category":"all"}' \
  https://hydra-api-nlnj.onrender.com/v1/markets/signals

Deploy

One-Click (Render)

Deploy to Render

The render.yaml blueprint auto-configures everything. After connecting, every push to master auto-deploys.

Local

pip install -r requirements.txt
cp .env.example .env
uvicorn src.main:app --host 0.0.0.0 --port 8402

Docker

docker-compose up

Architecture

  • FastAPI async API with x402 payment middleware
  • Web3.py on-chain USDC payment verification via Base RPC
  • HydraAutomaton — autonomous heartbeat (balance checks, lifecycle, remittance, keepalive)
  • ConstitutionCheck — three-law compliance (OFAC, solvency, filing deadlines)
  • TransactionLog — append-only JSONL audit trail for tax compliance
  • Rule-based engines — all endpoints are deterministic, zero LLM dependency

Market Coverage

  • Polymarket: ~110 active regulation markets
  • Kalshi: Fed funds rate (KXFED), crypto market structure, GENIUS Act, SEC
  • UMA Optimistic Oracle: Assertion data for bond posting
  • Chainlink: External Adapter format for on-chain delivery

Payment Verification

  1. Fetch transaction receipt from Base mainnet RPC
  2. Parse ERC-20 Transfer events from USDC contract
  3. Confirm recipient = treasury wallet, amount >= required
  4. Cache tx hash for 24h (replay prevention)
  5. Attach X-Payment-Verified: true header to response

Environment Variables

Variable Default Description
WALLET_ADDRESS 0x2F12...141 USDC recipient wallet
BASE_RPC_URL https://mainnet.base.org Base L2 RPC
HYDRA_STATE_DIR /tmp/hydra-data State persistence directory
PORT 8402 Server port
DEBUG false Verbose logging

Discovery

Protocol URL
x402 Manifest /.well-known/x402.json
MCP Manifest /.well-known/mcp.json
MCP Server /mcp
A2A Agent Card /.well-known/agent.json
LLMs.txt /.well-known/llms.txt
AI Plugin /.well-known/ai-plugin.json
OpenAPI /openapi.json
APIs.json /apis.json
Sitemap /sitemap.xml

License

Proprietary — HYDRA Systems LLC

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选