Skip to content

Examples

Every example on this page is a single Python file you can copy, paste, set your API key, and run. No project setup, no SDK config beyond the mcp package and a one-line env var. The point is to see real data in your terminal in under a minute.

Prerequisites

These apply to every example below.

Terminal window
pip install mcp
export ESTAITE_API_KEY="mk_..." # get one at https://estaite.com/developers

That’s the entire setup. Each example imports the same MCP client, opens a streamable HTTP connection to https://mcp.estaite.com, and calls one or more tools.

Available examples

A note on language

The examples here are in Python because the official MCP Python SDK is the most direct way to demonstrate the protocol. The same calls work from any language that can do HTTP — see HTTP / JSON-RPC for the raw protocol if you’re working in TypeScript, Go, Rust, or anything else.