MCP servers
DecisionGateway runs two read-only MCP
servers. Discovery is open on both: connect, initialize, tools/list.
Graph data tools
https://dgw-api.tmarket.io/mcp — streamable HTTP, JSON-RPC 2.0;
same-origin proxy https://dgw.tmarket.io/api/mcp.
| Tool | Returns |
|---|---|
dgw_meta_stats | Corpus counts. |
dgw_list_actors | Actor directory; resolve names to ids first. |
dgw_search_claims | Attributed statements, type and claimant filters. |
dgw_search_events | Events wire by title. |
dgw_actor_dossier | Actor card, aliases, decisions, claims. |
dgw_forecast_detail | One forecast: condition, probability, resolution. |
Lists page with limit (max 50) and offset, returning total_count
and has_more; dates are ISO 8601.
Tool calls need a free API key
(create one) as X-API-Key
or Bearer dgw_live_…. Scopes are per family (claims:read, …); refusals
name the missing scope; repeats throttle at three per minute.
curl -X POST https://dgw-api.tmarket.io/mcp \
-H "Accept: application/json, text/event-stream" \
-H "X-API-Key: dgw_live_..." \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"dgw_meta_stats","arguments":{}}}'
Site pages tools
https://dgw.tmarket.io/mcp — list_pages, search_pages,
get_page_markdown. No key. Manifest: /.well-known/mcp-server.