SimpleKPI MCP server for AI agents

Live

BEARER TOKEN

KPI TRACKING

Analytics

SimpleKPI gives your agent KPI tracking in your SimpleKPI account: read KPIs, categories, and entries, pull actuals and targets in reports, and create KPIs and record or batch upsert entry values.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
SimpleKPI
agent · Acme Q3
Run
Record 128 new signups for the Signups KPI for today.
S
simplekpi_kpi_entry_upsert
152ms
KPI reporting agent
Recorded 128 as today's actual for the Signups KPI.
Sources: SimpleKPI entry, 1 KPI
simplekpi
1 entry
18:29
Message Claude...

Tools your KPI tracking agent reaches for on SimpleKPI, scoped per user.

CALL ANY TOOL
38 tools for KPI tracking in SimpleKPI: list KPIs, categories, and users, read entries and reports, create and update KPIs and units, and record or batch upsert entry values.
simplekpi_breakdown_item_create
Create breakdown item
Create a breakdown item under a breakdown. Returns the item with its ID.
Parameters
Name
Type
Required
Description
name
string
Required
Name of the item, for example a team, product or region. Example: North.
breakdown_id
integer
Optional
ID of the breakdown the item sits under; null when it combines several breakdowns. Example: 9.
is_archived
boolean
Optional
true archives the item: it keeps its history but is not offered for new entries. Example: false.
is_system
boolean
Optional
Leave false; true marks items SimpleKPI maintains itself. Example: false.
sort_order
integer
Optional
Position of the item within its breakdown. Example: 1.
simplekpi_breakdown_item_delete
Delete breakdown item
simplekpi_breakdown_item_get
Get breakdown item
simplekpi_breakdown_item_update
Update breakdown item
simplekpi_breakdown_items_list
List breakdown items
simplekpi_category_kpi_create
Create category kpi
simplekpi_category_kpi_delete
Delete category kpi
simplekpi_category_kpi_get
Get category kpi
simplekpi_category_kpi_update
Update category kpi
simplekpi_category_kpis_list
List category kpis
simplekpi_kpi_categories_list
List kpi categories
simplekpi_kpi_category_create
Create kpi category
simplekpi_kpi_category_delete
Delete kpi category
simplekpi_kpi_category_get
Get kpi category
simplekpi_kpi_category_update
Update kpi category
simplekpi_kpi_create
Create kpi
simplekpi_kpi_delete
Delete kpi
simplekpi_kpi_entries_batch_upsert
Upsert kpi entries batch
simplekpi_kpi_entries_list
List kpi entries
simplekpi_kpi_entry_delete
Delete kpi entry
simplekpi_kpi_entry_update
Update kpi entry
simplekpi_kpi_entry_upsert
Upsert kpi entry
simplekpi_kpi_frequency_get
Get kpi frequency
simplekpi_kpi_get
Get kpi
simplekpi_kpi_icons_list
List kpi icons
simplekpi_kpi_unit_get
Get kpi unit
simplekpi_kpi_unit_update
Update kpi unit
simplekpi_kpi_units_list
List kpi units
simplekpi_kpis_list
List kpis
simplekpi_report_get
Get report

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// SimpleKPI tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["simplekpi"], toolNames: [
    "simplekpi_kpis_list",
    "simplekpi_report_get",
    "simplekpi_kpi_entry_upsert"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "List my KPIs, report last quarter's actuals and targets, and record today's value" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["simplekpi"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "List my KPIs, report last quarter's actuals and targets, and record today's value" }],
  tools,
});

// Execute the tool call with the user's vaulted SimpleKPI access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["simplekpi"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "List my KPIs, report last quarter's actuals and targets, and record today's value" }],
  tools,
});

// Tool call runs with the user's vaulted SimpleKPI access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["simplekpi"] }, pageSize: 100,
});

const agent = new Agent({
  name: "kpi_reporting_agent",
  model: "gemini-2.5-pro",
  instruction: "SimpleKPI tools scoped to this user",
  tools,
});

await agent.run("List my KPIs, report last quarter's actuals and targets, and record today's value");
Try these prompts
Copy any prompt into your agent. Each maps directly to a SimpleKPI tool. Click to copy, paste into your agent, done.
Read KPIs
Copy the prompt
Copied
List the KPIs in the Sales category.
Copy the prompt
Copied
Report actuals and targets for these KPIs for last quarter.
Copy the prompt
Copied
Show the KPI entries for this breakdown item this month.
Record values
Copy the prompt
Copied
Record today's actual of 128 for the Signups KPI.
Copy the prompt
Copied
Upsert these 30 daily entries for the revenue KPI.
Copy the prompt
Copied
Set the target on this KPI entry.
Set up KPIs
Copy the prompt
Copied
Create a KPI called Churn rate in the Customer category.
Copy the prompt
Copied
Create a unit for percentages.
Copy the prompt
Copied
Add a breakdown item for the EMEA region.
SEE HOW AUTH WORKS
Each user connects their own SimpleKPI access token once, and Scalekit sends it with every call. Tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
SimpleKPI
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
SimpleKPI
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
SimpleKPI
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
SimpleKPI
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other analytics connectors.
GTM and RevOps Teams
Revenue forecast commentary
Pulls open pipeline from Salesforce and HubSpot, calculates coverage against quota, flags at-risk stages, posts commentary to Slack, and logs every snapshot to Google Sheets.
Test other agents
See the same per-user auth pattern across other analytics connectors.
GTM
Revenue forecast agent
Score pipeline coverage against quota across Salesforce and HubSpot, post forecast commentary to Slack, log snapshots to Sheets.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared SimpleKPI access token looks fine in a demo. In production every KPI entry and change looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
SimpleKPI today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access SimpleKPI as the user or through a shared access token?
As the user. Each user connects their own SimpleKPI access token once, and Scalekit sends it with every call. Every KPI change and recorded entry in your audit trail is attributed to that user, not a shared service account.
Where is the SimpleKPI access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in SimpleKPI?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the list, get, and report tools without simplekpi_kpi_delete or simplekpi_category_kpi_delete, which delete a KPI and every entry recorded against it. Scalekit also enforces scope checks before every API call.
What happens when a user revokes SimpleKPI access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Do the update tools change only the fields I send?
Not most of them. simplekpi_kpi_update and the update tools for categories, units, and breakdown items are full replacements, so fields left out reset to their defaults and the agent should read the record first. simplekpi_kpi_entry_update writes only the fields chosen with setActual, setTarget, and setNotes.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""simplekpi"": {
""url"": ""https://mcp.scalekit.com/simplekpi"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.simplekpi]
url = ""https://mcp.scalekit.com/simplekpi""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""simplekpi"": {
""url"": ""https://mcp.scalekit.com/simplekpi"",
""type"": ""http""
}
}
}