Second Brain: Crafted, Curated, Connected, Compounded on 10月02日
Claude Desktop助力Rill MCP实现自助式BI
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

本文介绍了如何使用Claude Desktop结合Rill MCP实现自助式商业智能(BI)。作者通过一个实际案例,展示了Claude Desktop在理解和执行自然语言查询方面的能力,成功地从NYC出租车数据集中提取了JFK机场起飞的平均小费信息。该方法不仅能够提供数据指标,还能解读背景信息,极大地简化了数据分析过程,预示着未来组织内部自助式BI的普及。文中还提供了Claude Desktop的配置细节和仪表盘的截图。

💡 Claude Desktop与Rill MCP的集成,使得复杂的BI工具能够通过自然语言进行交互,极大地降低了数据分析的门槛,推动了自助式BI的实现。

📊 在NYC出租车数据集的案例中,Claude Desktop成功解析了“JFK机场起飞的平均小费”这一查询,并给出了具体金额($3.72)以及相关的总行程数(387,668)和数据时间范围(2023年4月30日至2023年6月1日),验证了其数据提取和解读的准确性。

🚀 该集成不仅能提供数值结果,还能提供“被解读的上下文”,帮助用户更深入地理解数据背后的含义,从而做出更明智的决策,这标志着BI领域的一大进步。

🛠️ 文章提供了Claude Desktop的macOS配置示例(claude_desktop_config.json),展示了如何设置Rill MCP服务器的连接,为用户提供了实际操作的指导。

Trying Rill MCP implementation with Claude Desktop. It worked on the first try with a local Rill and NYC and Pickup data set.

I think we arrived at Self-Service BI after many years of trying if we roll out MCP capabilities to everyone in the org.

Beyond mere numbers, we get interpreted context, too.

# Demo: Using Rill MCP with Claude Desktop

Docs: Rill MCP Server | Rill

# Demo

Question:

Using MCP Rill, can you give “avg tip” per ride in NYC with pickup zone JFK Airport?

Claude did this:

I’ll help you find the average tip per ride for trips picked up from JFK Airport in NYC using the available metrics data. Let me first explore what metrics views are available and then query for the specific information you need.Now let me examine the structure of these metrics views to understand what data is available:Perfect! I can see there’s an average_tips_measure that gives us the average tip per trip, and a pickup_zone dimension. Let me also check the time range available for this data:Now let me query for the average tip per ride specifically for JFK Airport pickup zones:Based on the data from the NYC trips metrics, here’s what I found:

Average Tip per Ride from JFK Airport: $3.72

Additional context:

    Total trips from JFK Airport: 387,668 tripsData period: April 30, 2023 to June 1, 2023

This means that for rides originating from JFK Airport in NYC during this period, passengers tipped an average of approximately $3.72 per trip. The data covers a substantial sample size of nearly 400,000 trips, making this a statistically robust average.

Full image

# Solution

The dashboard looks like this with the same filters, and we see it’s spot on:https://www.ssp.sh/brain/img_Using%20Rill%20MCP_1748770294350.webp1748770294350.webp">

# Setup

claude_desktop_config.json:

 1 2 3 4 5 6 7 8 9101112
{  "mcpServers": {    "rill": {      "command": "npx",      "args": [        "mcp-remote",        "http://localhost:9009/mcp/sse"      ]    }  },  "globalShortcut": ""}

Adding in Clahttps://www.ssp.sh/brain/img_Using%20Rill%20MCP_1748778741870.webpsing%20Rill%20MCP_1748778741870.webp">


Origin: Rill
References: LLM, GenBI
Created 2025-06-01

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Rill MCP Claude Desktop 自助式BI 数据分析 自然语言查询 Self-Service BI Data Analysis Natural Language Query
相关文章