TypeScript SDK
Type-safe client with full autocompletion.
MCP Server
Connect AI assistants directly to Struct data.
AI Skill
Install via skills.sh for instant access in your agent.
TypeScript SDK
The Struct SDK gives you a fully typed client for all Polymarket endpoints. Install it and start querying in seconds.SDK Reference
Full documentation, examples, and source code.
MCP Server
Struct exposes a Model Context Protocol (MCP) server that lets AI assistants like Claude, Cursor, and Windsurf query prediction market data directly. Add the Struct MCP server to your assistant’s configuration:AI Skill
Install the Struct skill via skills.sh to give any Claude Code agent instant access to Struct’s Polymarket data.Choose Your Path
| Approach | Best For |
|---|---|
| REST API | Full control, any language, custom integrations |
| TypeScript SDK | TypeScript/JavaScript projects with type safety |
| MCP Server | AI assistants and coding tools (Claude, Cursor, Windsurf) |
| AI Skill | Claude Code agents via skills.sh |