Skip to main content

Code examples

Rather than duplicating code in this documentation, examples are maintained in the examples/ directory of the sens-toolkit repository (placeholder — the repo is local-only and private today, see the note in MCP Server), so they always stay accurate and runnable.

Python

TypeScript

cURL

Didn't find what you need?

If you'd rather use an AI agent than write your own HTTP client, see the MCP integrationsens-mcp gives Claude Desktop/Cursor/LangChain ready-made tools for querying SENS without writing integration code.