rill
The Rill Model Context Protocol (MCP) server exposes Rill's most essential APIs to LLMs. It is currently designed primarily for data analysts, not data engineers, and focuses on consuming Rill metrics views—not creating them.
The Rill MCP Server provides a structured and governed way for Large Language Models (LLMs) to interact with Rill's essential APIs, specifically focusing on consuming Rill metrics views. This ensures that LLMs can query data with predefined measures and dimensions, guaranteeing accurate and consistent responses aligned with Rill dashboards. It's primarily designed for data analysts to self-serve answers to business questions.
Key Features:
- Structured & Governed Analytics: Provides a reliable interface to your data warehouse via Rill's metrics views.
- Accurate & Consistent Data: Responses are guaranteed to be as accurate as Rill dashboards.
- AI Instructions: Allows adding
ai_instructionsto Rill project files (rill.yaml,metrics.yaml) to provide LLMs with additional context and guidance for best results, including how to generate Rill Explore URLs. - Supported Actions: Exposes APIs for
list_metrics_views,get_metrics_view,query_metrics_view_time_range, andquery_metrics_view.
How to Use:
- Prerequisites: Ensure you have the Rill CLI installed and a Rill Personal Access Token (if using Rill Cloud).
- Configure Claude Desktop: Edit your
claude_desktop_config.jsonfile to include the Rill MCP server configuration under themcpServerskey.- For private Rill Cloud projects: Connect to
https://api.rilldata.com/v1/organizations/{org}/projects/{project}/runtime/mcpwith anAuthorizationheader. - For public Rill Cloud projects: Connect to
https://api.rilldata.com/v1/organizations/demo/projects/rill-github-analytics/runtime/mcp. - For locally running Rill Developer: Connect to
http://localhost:9009/mcp. These configurations typically usenpx mcp-remoteas the client command to connect to the Rill MCP server endpoint.
- For private Rill Cloud projects: Connect to
- Restart Claude Desktop: Apply changes to the configuration.
- Enhance LLM Context: Add
ai_instructionsto yourrill.yamlor specificmetrics.yamlfiles to guide the LLM on how to use Rill tools and format responses, including generating Rill Explore URLs.
The Rill MCP Server empowers users to get quick, overall summaries and insights from their data through natural language conversations, leveraging the trustworthiness of Rill's existing metrics.
Recommend MCP Servers 💡
m2m-mcp-server-ssh-server
A secure SSH server for accessing and interacting with remote MCP tools through a unified interface
postralai/masquerade
A privacy firewall for LLMs that redacts sensitive data from PDFs before sending to AI models
mcp-pinecone
Model Context Protocol server to allow for reading and writing from Pinecone. Rudimentary RAG
nx-mcp
The Nx MCP server enhances LLMs by providing rich workspace metadata, enabling them to understand monorepo architecture and make context-aware decisions for improved AI-powered development.
@kontent-ai/mcp-server
Official Kontent.ai MCP server enabling AI tools to interact with Kontent.ai content management via Model Context Protocol.
rssmcp
A simple MCP server that provides a tool to fetch RSS feeds and return entries as formatted text.