Skip to main content

Kwery for Agents

Unified prediction market and crypto data for AI agents. One API key. Polymarket, Kalshi, Hyperliquid, Binance, Chainlink.

What's Included

ToolDetails
MCP Server30 tools, works with Claude Code, Cursor, Windsurf, VS Code
CLI76 commands, JSON/CSV/table output, pipes into Python
SkillsPre-built reasoning guides for backtesting, signals, derivatives, research
REST APIRaw HTTP access, same data, cursor pagination — kwery-api.com/docs

MCP vs CLI

Use caseBest toolWhy
Conversational data explorationMCPClaude calls tools directly in-context
Scripted pipelines / cron jobsCLIDeterministic, scriptable, no LLM in the loop
Python/pandas analysisCLI (--format csv)Pipe CSV straight into pandas or jq
Backtesting in ClaudeMCP + SkillsSkills enforce point-in-time accuracy rules
CI/CD data ingestionCLIShell-native, exit codes, composable
Real-time agent reasoningMCPTools 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?"

ℹ️Two separate packages

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

WorkflowTools to use
PM/Kalshi backtestMCP + backtest skill
Cross-platform signalMCP + signal skill
Funding/OI analysisMCP + derivatives skill
Market researchMCP + research skill
Data download scriptCLI
Automated pipelineCLI + 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