This MCP server queries metrics in your Rill project to answer questions, surface trends, generate reports, and explore your data from new angles. Every result includes a link back to the relevant Rill dashboard so you can verify the data yourself.
# Rill MCP Server
This server exposes APIs for querying **metrics views**, which represent Rill's metrics layer.
## Workflow Overview
1. **List metrics views:** Use "list_metrics_views" to discover available metrics views in the project.
2. **Get metrics view spec:** Use "get_metrics_view" to fetch a metrics view's specification. This is important to understand all the dimensions and measures in a metrics view.
3. **Query the summary:** Use "query_metrics_view_summary" to obtain the available time range for a metrics view and sample values with their data types for each dimension. This provides a richer context for understanding the data.
4. **Query the metrics:** Use "query_metrics_view" to run queries to get aggregated results.
In the workflow, do not proceed with the next step until the previous step has been completed. If the information from the previous step is already known (let's say for subsequent queries), you can skip it.
If a response contains an "ai_instructions" field, you should interpret it as additional instructions for how to behave in subsequent responses that relate to that tool call.
## Skills
Projects may define **skills**: instruction files that teach agents project-specific analysis or development practices, such as analysis playbooks and business glossaries:
- Use "list_skills" early in a session to discover the project's skills.
- Before doing work that a skill's description covers, use "load_skill" to fetch its full instructions and follow them.
- Load any skill marked "always_apply" up front and treat its instructions as always in effect.
## Project Development
If you have edit access, the server also exposes tools for inspecting and editing the project's source code, which consists of YAML and SQL files:
- **List files:** Use "list_files" to browse the files in the project.
- **Search files:** Use "search_files" to find files by name or content.
- **Read a file:** Use "read_file" to read the contents of a file.
- **Write a file:** Us
Discoverability
0 pass · 1 partial0 passed · 1 partial8/100
Client listings and public setup information.
MCP Server Card
An MCP Server Card found through ai-catalog.json or the endpoint's /server-card that declares this endpoint passes. Earlier paths and mcp.json earn half credit.
No matching manifest was found at /mcp.json or /.well-known/mcp.json.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description82/100
Lists the skills defined in the project. Skills are instruction files that teach AI agents project-specific analysis or development practices. Load a skill with the load_skill tool before doing work its description covers. Treat skills marked always_apply as standing instructions and load them up front.
The description explains the capability, when to use it, and what to expect.
Inputs100/100
This tool declares no inputs, so argument descriptions are not needed.
Name the specific action and subject instead of using a generic label such as ‘manage’ or ‘tool’.
Description91/100
Loads the full instructions for a skill defined in the project. Skills teach project-specific analysis or development practices. Call this before doing work that a skill's description covers, then follow the returned instructions.
The description explains the capability, when to use it, and what to expect.
Inputs73/100
Input documentation gives an agent enough context to populate the arguments.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description97/100
Perform an arbitrary aggregation on a metrics view.
The JSON schema defines all available parameters. Key considerations:
Request:
- Include 'limit' and 'sort' parameters to optimize performance. Keep the limit as low as realistically possible for your task (ideally below 100 rows). Regardless of whether you include a limit, the server will truncate large results (and return a warning if it does).
- 'time_range' is inclusive of start time, exclusive of end time
- 'time_range.time_dimension' (optional) specifies which time column to filter; defaults to the metrics view's default time column
- For comparisons, 'time_range' and 'comparison_time_range' must be non-overlapping and similar in duration (~20% tolerance)
Response:
- Returns aggregated data matching your query parameters
- Includes 'open_url' field with a shareable link to view results in the Rill UI
- Always cite the source of quantitative claims by including 'open_url' as a markdown link
- When presenting insights from multiple queries, cite each query's 'open_url' inline; when presenting multiple insights from the same query, cite once at the end
Example: Get the total revenue by country and product category for 2024:
{
"metrics_view": "ecommerce_financials",
"dimensions": [{"name": "country"}, {"name": "product_category"}],
"measures": [{"name": "total_revenue"}, {"name": "total_orders"}],
"time_range": {
"start": "2024-01-01T00:00:00Z",
"end": "2025-01-01T00:00:00Z"
},
"where": {
"cond": {
"op": "and",
"exprs": [
{
"cond": {
"op": "in",
"exprs": [
{"name": "country"},
{"val": ["US", "CA", "GB"]}
]
}
},
{
"cond": {
"op": "eq",
"exprs": [
{"name": "product_category"},
{"val": "Electronics"}
]
}
}
]
},
},
"sort": [{"name": "total_revenue", "desc": true}],
"limit": 10
}
Example: Get the total revenue by country and month for 2024:
{
"metrics_view": "ecommerce_financials",
"dimensions": [
{"name": "event_time", "compute": {"time_floor": {"dimension": "event_time", "grain": "month"}}},
{"name": "country"}
],
"measures": [{"name": "total_revenue"}],
"time_range": {
"start": "2024-01-01T00:00:00Z",
"end": "2025-01-01T00:00:00Z"
},
"sort": [
{"name": "event_time"},
{"name": "total_revenue", "desc": true}
],
"limit": 120
}
Example: Get the total revenue by country and month for order shipped in 2024:
{
"metrics_view": "ecommerce_financials",
"dimensions": [
{"name": "event_time", "compute": {"time_floor": {"dimension": "event_time", "grain": "month"}}},
{"name": "country"}
],
"measures": [{"name": "total_revenue"}],
"time_range": {
"start": "2024-01-01T00:00:00Z",
"end": "2025-01-01T00:00:00Z",
"time_dimension": "order_shipped_time"
},
"sort": [
{"name": "event_time"},
{"name": "total_revenue", "desc": true}
],
"limit": 120
}
Example: Get the top 10 demographic segments (by country, gender, and age group) with the largest absolute revenue difference comparing May 2025 (base period) to April 2025 (comparison period):
{
"metrics_view": "ecommerce_financials",
"measures": [
{"name": "total_revenue"},
{"name": "total_revenue__delta_abs", "compute": {"comparison_delta": {"measure": "total_revenue"}}},
{"name": "total_revenue__delta_rel", "compute": {"comparison_ratio": {"measure": "total_revenue"}}}
],
"dimensions": [{"name": "country"}, {"name": "gender"}, {"name": "age_group"}],
"time_range": {
"start": "2025-05-01T00:00:00Z",
"end": "2025-05-31T23:59:59Z"
},
"comparison_time_range": {
"start": "2025-04-01T00:00:00Z",
"end": "2025-04-30T23:59:59Z"
},
"sort": [{"name": "total_revenue__delta_abs", "desc": true}],
"limit": 10
}
Example: Get the top 10 demographic segments (by country, gender, and age group) with the largest absolute revenue difference comparing last month as of latest day (base period) to previous month (comparison period):
{
"metrics_view": "ecommerce_financials",
"measures": [
{"name": "total_revenue"},
{"name": "total_revenue__delta_abs", "compute": {"comparison_delta": {"measure": "total_revenue"}}},
{"name": "total_revenue__delta_rel", "compute": {"comparison_ratio": {"measure": "total_revenue"}}},
],
"dimensions": [{"name": "country"}, {"name": "gender"}, {"name": "age_group"}],
"time_range": {
"expression": "1M as of latest/D"
},
"comparison_time_range": {
expression": "1M as of latest/D offset -1M"
},
"sort": [{"name": "total_revenue__delta_abs", "desc": true}],
"limit": 10
}
Example: Get the top 10 demographic segments (by country, gender, and age group) with the largest absolute revenue difference comparing last day as of latest minute (base period) to previous day (comparison period):
{
"metrics_view": "ecommerce_financials",
"measures": [
{"name": "total_revenue"},
{"name": "total_revenue__delta_abs", "compute": {"comparison_delta": {"measure": "total_revenue"}}},
{"name": "total_revenue__delta_rel", "compute": {"comparison_ratio": {"measure": "total_revenue"}}},
],
"dimensions": [{"name": "country"}, {"name": "gender"}, {"name": "age_group"}],
"time_range": {
"expression": "1D as of latest/m"
},
"comparison_time_range": {
expression": "1D as of latest/m offset -1D"
},
"sort": [{"name": "total_revenue__delta_abs", "desc": true}],
"limit": 10
}
The description explains the capability, when to use it, and what to expect.
Inputs80/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › TimeRange › end
End time (exclusive)
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › TimeRange › expression
Time range expression. If specifying this no other TimeRange fields should be set.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › TimeRange › iso_duration
ISO 8601 duration, supported but deprecated in favor of 'expression' field.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › TimeRange › iso_offset
ISO 8601 offset, supported but deprecated in favor of 'expression' field.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › TimeRange › round_to_grain
Time grain to round to
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › TimeRange › start
Start time (inclusive)
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › DimensionComputeTimeFloor › dimension
Dimension to apply time floor to
Clear enough to supply this argument.
$defs › DimensionComputeTimeFloor › grain
Time grain for flooring
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › Dimension › name
Name of the dimension
Explain the meaning of this value, not just its name.
$defs › Condition › op
Operator for the condition
Explain the meaning of this value, not just its name.
$defs › Expression › name
Expression name
Explain the meaning of this value, not just its name.
$defs › MeasureComputeComparisonDelta › measure
Measure to compute delta for
Clear enough to supply this argument.
$defs › MeasureComputeComparisonRatio › measure
Measure to compute ratio for
Clear enough to supply this argument.
$defs › MeasureComputeComparisonTime › dimension
Time dimension to return the comparison time for
Clear enough to supply this argument.
$defs › MeasureComputeComparisonValue › measure
Measure to compare
Clear enough to supply this argument.
$defs › MeasureCompute › count
Whether to compute count
Clear enough to supply this argument.
$defs › MeasureComputeCountDistinct › dimension
Dimension to count distinct values for
Clear enough to supply this argument.
$defs › MeasureComputeExpression › display_name
Optional display name for the derived measure
Clear enough to supply this argument.
$defs › MeasureComputeExpression › expression
Arithmetic expression that derives an ephemeral measure from existing measures, e.g. 'revenue - cost'. References must be existing measure names. Only numeric literals, NULL, the operators + - * / %, parentheses, and the functions abs, round, floor, ceil, sqrt, ln, exp, power, coalesce, nullif, greatest, least are allowed.
Clear enough to supply this argument.
$defs › MeasureComputePercentOfTotal › measure
Measure to compute percentage for
Clear enough to supply this argument.
$defs › MeasureComputePercentOfTotal › total
Total value to use for percentage calculation
Clear enough to supply this argument.
$defs › MeasureComputeURI › dimension
Dimension to generate URI for
Explain the meaning of this value, not just its name.
$defs › Measure › name
Name of the measure
Clear enough to supply this argument.
$defs › Expression › val
Expression value
Explain the meaning of this value, not just its name.
limit
Maximum number of rows to return. It is required for interactive queries.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
metrics_view
The metrics view to query.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
offset
Optional offset for the query results. This is useful for pagination together with 'limit'.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
pivot_on
Optional dimensions to pivot on. The provided dimensions must be present in the query. If not provided, the query will return a flat result set. Note that pivoting can have poor performance on large result sets.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
rows
Optional flag to return the underlying rows instead of aggregated results. This is useful for debugging or exploring the data. Setting it to true is incompatible with the following options: dimensions, measures, sort, comparison_time_range, having, pivot_on.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › Sort › desc
Whether to sort in descending order
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › Sort › name
Field name to sort by
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › TimeSpine › end
End time
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › TimeSpine › grain
Time grain for the spine
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › TimeSpine › start
Start time
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
time_zone
Optional time zone for time_floor operations and dynamic time ranges. Defaults to UTC.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
use_display_names
Optional flag to return results using display names for dimensions and measures instead of their unique names. Defaults to false.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description87/100
Retrieve summary statistics for a metrics view including:
- Total time range available
- Sample values and data types for each dimension
Note: All subsequent queries of the metrics view should be constrained to this time range to ensure accurate results.
The description explains the capability, when to use it, and what to expect.
Inputs50/100
Explain the meaning of this value, not just its name.
metrics_view
Name of the metrics view
Explain the meaning of this value, not just its name.
{
"name": "query_metrics_view_summary",
"title": "Query Metrics View Summary",
"description": "\n\t\t\tRetrieve summary statistics for a metrics view including:\n\t\t\t- Total time range available\n\t\t\t- Sample values and data types for each dimension\n\t\t\tNote: All subsequent queries of the metrics view should be constrained to this time range to ensure accurate results.\n\t\t",
"inputSchema": {
"type": "object",
"required": [
"metrics_view"
],
"properties": {
"metrics_view": {
"type": "string",
"description": "Name of the metrics view"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
Loading score analytics…
Put your MCP to the test
A few tasks worth trying with this server, chosen from its reviewed tools. These have not been run.
01List Metrics ViewsList all metrics views in the current project
02Query Metrics ViewPerform an arbitrary aggregation on a metrics view.
03Query Metrics View SummaryRetrieve summary statistics for a metrics view including:
04Get Metrics ViewGet the specification for a given metrics view, including available measures and dimensions
05List skillsLists the skills defined in the project.
Want to run these tasks against your MCP server with us?
Rill MCP Server setup, tools, quality score, publishing readiness, and alternatives.
How do I add Rill MCP Server to Claude, ChatGPT, or Cursor?
Add Rill MCP Server to Claude, ChatGPT, or Cursor by connecting its remote MCP URL in each client's MCP settings. In Claude, add a custom connector. In ChatGPT, add an MCP app. In Cursor, add an MCP server under Settings. The MCP URL is https://api.rilldata.com/v1/orgs/demo/projects/rill-openrtb-prog-ads/runtime/mcp. This server requires OAuth, so complete the login prompt after you connect.
Is Rill MCP Server MCP ready for ChatGPT and Claude?
As of October 24, 2026, Rill MCP Server scores 96/100 on Manufact's MCP publishing checklist. The scan meets ChatGPT publishing checks and meets Claude publishing checks. Passing these checks does not guarantee marketplace approval.
How clear is Rill MCP Server's MCP tool documentation?
As of October 24, 2026, Rill MCP Server scores 82/100 in Manufact's review of tool titles, descriptions, input and output schemas, and behavior annotations. The review covers 6 of 6 discovered tools. The quality score measures documentation clarity; runtime behavior and marketplace readiness require separate checks.
What tools does the Rill MCP Server MCP server provide?
Rill MCP Server provides these MCP tools: list_metrics_views, get_metrics_view, query_metrics_view, and query_metrics_view_summary.
What are the best alternatives to Rill MCP Server?
As of December 4, 2026, alternatives to Rill MCP Server in data-analytics on the Manufact MCP leaderboard include Neon, HYPD AI for Google Analytics, ClickHouse Cloud MCP Server, Polygraph, and athletedata.
Does Rill MCP Server MCP require authentication?
Rill MCP Server requires authentication. Connect it in Claude, ChatGPT, or Cursor and complete the OAuth login prompt.
How can Rill MCP Server improve its MCP documentation?
query_metrics_view_summary is the lowest-scoring reviewed tool at 75/100. Declare the result fields and their types in the output schema. Open its review for feedback and a copyable fix prompt, then rerun the documentation review after updating your tool metadata.
Who develops Rill MCP Server?
Rill MCP Server is developed by Rill Data, Inc. It is listed as community on the Claude connector directory.
Not your MCP?
Review any public or OAuth MCP server for protocol compatibility, tool documentation, and ChatGPT and Claude publishing readiness. No account required.