Klaris over MCP¶
Klaris is an MCP server. An assistant that speaks MCP can ask Klaris questions about a company's business as one of its people, and show the answers in its own screens: figures, tables, charts, files, and questions Klaris needs answered first.
Every question is answered by the Klaris Agent, the same one behind Klaris's own chat. It answers as the person asking. It sees only the data their role may see, asks for their yes before it runs what the workspace says needs one, and keeps each chat under their name, so they can carry on later or open it in Klaris.
Two ways to connect¶
| Your company's assistant | Claude, ChatGPT and other MCP apps | |
|---|---|---|
| Who it's for | A product with its own signed-in users, such as a portal or an in-house assistant. | One person using their own AI app. |
| How people sign in | Your server vouches for each person with a short signed pass. Nobody sees a Klaris sign-in. | The person signs in to Klaris once and allows the app. |
| Set up by | Your developers, with a Klaris admin. | The person, in their app's settings. |
| Start here | Quickstart | Connect Claude or ChatGPT |
The server¶
| Address | https://app.klarislabs.com/mcp |
| Transport | Streamable HTTP. The server is stateless: each request can stand alone. |
| Version | Given in serverInfo.version when you connect. See Changelog. |
| Tools | ask, answer_approval, get_answer, list_conversations, get_conversation, delete_conversation, list_sources, get_table_rows. See the MCP reference. |
| Resources | klaris://files/{file_id}: files Klaris made (Excel or CSV). |
On-premises deployments
These pages use https://app.klarislabs.com. If your company runs Klaris on its own servers, ask the Klaris
team for your address and use it instead.
What a conversation looks like¶
- Your app calls
askwith the person's question. - Klaris works it out: it reads the company's data model, runs read-only queries, and works out the figures. While it works, it sends a short progress note for each step.
- You get an answer: Klaris's words in Markdown, plus any tables, charts, single figures and files, a
statusthat says what to do next, and the chat'sconversation_id. - For a follow-up, call
askagain with thatconversation_id. Leave it out to start a new chat.
{
"conversation_id": "conv_93ab…",
"status": "answered",
"answer": "Twelve policies renew this month, worth $48,200 in premium.",
"outputs": [
{
"kind": "table",
"title": "Renewals This Month",
"data": {
"columns": [
{
"key": "policy",
"label": "Policy",
"type": "string"
},
{
"key": "premium",
"label": "Premium",
"type": "currency",
"unit": "$"
}
],
"rows": [
[
"P-1042",
4200
]
],
"row_count": 12,
"table_id": "tbl_5b1e…"
}
}
],
"steps": [
"Look up renewals",
"Work out the totals"
],
"question": null,
"approvals": []
}
Handling answers covers each status: answers that take longer, questions back, approvals, big
tables and files.
What stays the same as in Klaris¶
- Access: the person's role decides what they can see. Asked about something their role can't see, Klaris says so plainly instead of working out a nearby figure. It may offer one in a sentence, and gives it only if the person asks.
- Approvals: the workspace's rules decide what needs the person's yes. Your app shows the request and passes on their decision; it never decides for them.
- Chats: the same chats as in Klaris, under the same person. If your people can also open Klaris, they find their chats there (Open Klaris from your app).
- Records: every question, query and decision is in the workspace's audit log, marked with your app's name. Its cost shows on the workspace's usage page.