Kwery for Agents
Unified prediction market and crypto data for AI agents. One API key. Polymarket, Kalshi, Hyperliquid, Binance, Chainlink.
What's Included
| Tool | Details |
|---|---|
| MCP Server | 30 tools, works with Claude Code, Cursor, Windsurf, VS Code |
| CLI | 76 commands, JSON/CSV/table output, pipes into Python |
| Skills | Pre-built reasoning guides for backtesting, signals, derivatives, research |
| REST API | Raw HTTP access, same data, cursor pagination — kwery-api.com/docs |
MCP vs CLI
| Use case | Best tool | Why |
|---|---|---|
| Conversational data exploration | MCP | Claude calls tools directly in-context |
| Scripted pipelines / cron jobs | CLI | Deterministic, scriptable, no LLM in the loop |
| Python/pandas analysis | CLI (--format csv) | Pipe CSV straight into pandas or jq |
| Backtesting in Claude | MCP + Skills | Skills enforce point-in-time accuracy rules |
| CI/CD data ingestion | CLI | Shell-native, exit codes, composable |
| Real-time agent reasoning | MCP | Tools return structured data Claude can reason over |
Quick Start
Step 1 — Get an API key at kwery.xyz/dashboard.
Step 2 — Add the MCP server:
claude mcp add kwery npx kwery-mcp@latest
Step 3 — Verify: ask Claude "What Kwery tools are available?"
Kwery MCP and CLI are separate npm packages: kwery-mcp and kwery-cli. Install only what you need.
Skills
Skills are Markdown reasoning guides — not code. They teach Claude how to use Kwery tools correctly for specific workflows. Load a skill before starting a backtesting session, signal construction, derivatives analysis, or market research task. The skill tells Claude which tools to call, in what order, and how to normalize data across venues.
See Skills for the full list and loading instructions.
Workflow Recommendations
| Workflow | Tools to use |
|---|---|
| PM/Kalshi backtest | MCP + backtest skill |
| Cross-platform signal | MCP + signal skill |
| Funding/OI analysis | MCP + derivatives skill |
| Market research | MCP + research skill |
| Data download script | CLI |
| Automated pipeline | CLI + REST |
Go Deeper
- MCP Server — Setup guides for Claude Code, Cursor, Windsurf, VS Code, all 30 tools
- CLI — Install, all 76 commands, output formats, pagination
- Skills — Backtest, signal, derivatives, research
- API Reference — Raw HTTP endpoints, OpenAPI spec
- Pricing — Plans, credit limits, rate limits