Docs
Developer docs
Use Prolepsia from your own code and AI agents. Every page has examples in TypeScript, Python and curl.
Pages
- APICreate questions, start forecasts and read results from your own code, with examples in TypeScript, Python and curl.
- WebhooksGet a signed HTTPS call when a forecast starts, finishes or fails, and check the signature on your server.
- MCP serverConnect ChatGPT, Claude, Cursor, Codex and your own agents to Prolepsia, and install the agent skill.
For AI agents
Building with an AI coding agent? Give it /docs/developers/llms.txt, which lists every page as Markdown, or a single page such as /docs/developers/api.md. Each page also has a Copy page as Markdown button.
Machine-readable references
- Interactive API reference, where you can try each call with your key.
- OpenAPI schema for client generators.
- Agent skill, which teaches an AI agent to use the MCP tools.