# Connect Tinybird to Your AI Agent (Universal MCP)

> Use your AI to query data, analyze data, and monitor performance in Tinybird — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http tinybird https://api.universalmcp.app/mcp/tinybird`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/tinybird` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "tinybird", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: Tinybird | Category: ERP & Accounting (Tinybird) | Auth: Guided workspace authorization
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Pipes and endpoints, Data source schemas, Deployments; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/tinybird | Guide: https://universalmcp.app/mcp/tinybird
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (16 actions: 3 Read, 13 Write)
Perform over 10 actions across developer workflow, workspace & organizations, query & apis, schema & branches, and data ingestion. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Developer Workflow (4):** Deploy Datafiles with CLI (write), Define Resources in TypeScript (write), Define Resources in Python (write), Run Local Development Environment (write)
- **Workspace & Organizations (4):** Manage Cluster Settings (write), Monitor Data Infrastructure (read), Set Up Team Organization (write), Request Support Escalation (write)
- **Query & APIs (3):** Publish SQL API Endpoint (write), Run Analytical Query (read), Ship Embedded Analytics Feature (write)
- **Schema & Branches (3):** Apply Schema Migration (write), Create Zero-Copy Branch (write), Test Queries on Branch (read)
- **Data Ingestion (2):** Ingest Event Data (write), Connect Kafka Topic (write)

## Example Prompts for Tinybird
- **Endpoint latency:** "Which Tinybird API endpoints have p95 latency above 300 ms, and which data sources do they read?"
- **Query cost:** "Show the top 5 Tinybird pipes by rows scanned in the last week, with their SQL text."
- **Schema review:** "List the sorting keys and partitions on the orders_events data source in Tinybird."
- **Guarded endpoint change:** "Draft a new sorting key for orders_events, but do not deploy it until I confirm the staging test."
