- Type of work
- MCP server and reporting integration
- Whose work
- Our founder’s earlier engineering work
- Status
- Rolled out to staff
- Stack
- Model Context Protocol (MCP), Python, Amazon Redshift, Parquet, Google SSO, Claude, Codex, Cursor
In brief
- Problem. People look up the same figures in dashboards every week. An AI assistant can save that time, but only if its answers come from approved reports and respect who is allowed to see what.
- Work. Our founder built read-only Model Context Protocol (MCP) tools on top of an existing reporting platform. The assistant finds a report, reads what the signed-in person can open and gets totals calculated across all matching records.
- Check. Each answer carries its source report and the time the data last refreshed. Access can be revoked per person, and identities are redacted in restricted reports.
What was the problem?
The reports already existed, with agreed definitions and permissions. The aim was a faster way to ask them a question. The risky shortcuts are easy to picture: paste an export into a chat window, or give a model a database login and let it write SQL. The first loses the permissions. The second loses the definitions.
What did our founder build?
- Tools instead of a database login. The assistant receives a small set of read-only tools. It can find a report, read rows from it and ask for a total. It cannot write anything, and it never holds database credentials.
- The reader’s own permissions. People sign in with Google single sign-on. The assistant can open only the reports that person can already open.
- Exact aggregation. Totals are calculated by the server across every matching record. The model does not add up a sample of rows.
- Row limits. Responses are bounded, so one question cannot pull an entire table into a conversation.
- Freshness and provenance. Each response says which report it came from and when that data last refreshed.
- Identity redaction. In restricted reports, personal identifiers are removed before anything reaches the assistant.
- Per-user token revocation. One person’s access can be withdrawn without affecting anyone else.
The tools were rolled out to staff and used from Claude, Codex and Cursor.
Why tools over approved reports, and not text-to-SQL?
A model that writes its own SQL can produce a query that runs, returns a number and is still wrong, because it joined the wrong table or missed a filter everyone in finance knows about. An approved report already contains those rules. Giving the assistant the report keeps the definition, the permissions and the audit trail in one place.
Text-to-SQL still has a use for analysts exploring data they understand. Our guide to letting an AI assistant query your data warehouse safely compares the options.
What does an answer look like?
Take “What were sales by region last quarter?” The assistant finds the relevant report, asks the server for totals across all matching records and shows when the data last refreshed. Someone checking the figure can open the underlying rows and the reporting rules behind it.
You can try the idea on sample data. The Business Intelligence Platform demo on our home page shows an assistant answering from a sample report, including when the data last refreshed.
What would this look like for your team?
Start with one report and five questions people really ask about it. We agree who may ask, define the tools, and test them against those questions with the expected answers written down first. A small group uses it before anyone else does. MCP servers and AI connectors describes the scope, permissions and tests in more detail.
Frequently asked questions
Does the AI assistant see all of our data?
No. It can call only the tools the server offers, and each call runs with the signed-in person’s report permissions. Reports that person cannot open are not available to their assistant, and row limits cap how much any one answer returns.
How do you stop the assistant from getting a total wrong?
The model does not do the arithmetic. A server-side tool calculates the total over every matching record and returns it with the source report and refresh time, so a reader can open the report and check the figure.
Which AI assistants can use an MCP server?
Any client that supports the Model Context Protocol. This work was used from Claude, Codex and Cursor. Client support and sign-in options change quickly, so we confirm both for your tools at the start of a project.
Bring one report and five questions
Tell us which report people ask about most and which AI tools your team uses. Describe the report assistant you have in mind, or see a second connector built the same way for accounting data in Xero.
This example describes engineering work our founder, Meet Vaghasia, carried out in an earlier role. The organization is not named and project figures are left out. On a call we can walk through the approach in more detail.