Lists all Data Sources in the Tinybird Workspace
Lists all Pipe Endpoints in the Tinybird Workspace
Gets the information of a Data Source given its name, including the schema
Gets the information of a Pipe Endpoint given its name, including its nodes and SQL transformation
Requests data from a Pipe Endpoint via an HTTP request, with optional parameters to filter the analytical data
Runs a select query over a Data Source to extract insights
Adds a new business insight to the memo resource
Provides access to the complete Tinybird product documentation
Sends an event to a Tinybird Data Source, useful for saving user-generated prompts
Uses the Tinybird analyze API to run a ClickHouse explain on the Pipe Endpoint query and suggest optimizations
Creates a remote Data Source or Pipe in the Tinybird Workspace from a local datafile
The Tinybird MCP server enables seamless interaction with Tinybird workspaces directly from MCP-compatible AI assistants. It allows you to query data sources, access API endpoints, and push data files without leaving your AI assistant interface. This integration bridges the gap between conversational AI and real-time analytics, making it possible to explore and analyze your data through natural language.
The Tinybird MCP server provides a powerful interface between AI assistants and your Tinybird workspace. It enables you to perform data analysis, run queries, and manage data directly through conversation with your AI assistant.
Before setting up the Tinybird MCP server, you'll need:
Option 1: Smithery
To install automatically via Smithery:
npx @smithery/cli install @tinybirdco/mcp-tinybird --client claude
Option 2: mcp-get
Install using mcp-get:
npx @michaellatman/mcp-get@latest install mcp-tinybird
uvx install mcp-tinybird
Create a configuration file in the appropriate location for your operating system:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
Add the following configuration, replacing the placeholders with your actual Tinybird credentials:
{
"mcpServers": {
"mcp-tinybird": {
"command": "uvx",
"args": [
"mcp-tinybird",
"stdio"
],
"env": {
"TB_API_URL": "<TINYBIRD_API_URL>",
"TB_ADMIN_TOKEN": "<TINYBIRD_ADMIN_TOKEN>"
}
}
}
}
After saving the configuration, restart Claude Desktop.
For web applications or other clients that support Server-Sent Events (SSE), you can run the MCP server in SSE mode:
uvx mcp-tinybird sse
The server comes with a default prompt for exploring data in Tinybird. You can configure additional prompt workflows by creating a prompts
Data Source in your Tinybird workspace with the following schema:
SCHEMA >
`name` String `json:$.name`,
`description` String `json:$.description`,
`timestamp` DateTime `json:$.timestamp`,
`arguments` Array(String) `json:$.arguments[:]`,
`prompt` String `json:$.prompt`
The MCP server loads these prompts on initialization, allowing you to customize the interaction flow.
If you encounter issues:
npx @modelcontextprotocol/inspector uvx mcp-tinybird