API, MCP and org structure
- Who can use it
- Org admin sets up credentials and the hierarchy. Managers read the reports.
- Where
- Admin → MCP, Admin → Hierarchy, Org Hierarchy and Attributes reports
Ask an AI assistant questions about your teams’ delivery, pull the same numbers into your own scripts, and see results by department, level or location.
- The MCP server lets an AI assistant read your metrics. MCP (Model Context Protocol) is the standard way AI assistants connect to outside data.
- The REST API serves the same metrics to your own scripts.
- The org hierarchy and attribute slices roll numbers up by department, level or location, without exposing individuals.
MCP server
Ask Claude Code or Codex questions such as “which team’s review wait grew this month” and get answers from your real numbers. The MCP server is read-only. It can read, never change.
An org admin sets it up:
- Open Admin → MCP.
- Under MCP credentials, type a Credential name, for example “My Claude Code”.
- Choose Access:
- Acts as me: answers with your role and visibility, like your own sign-in.
- Workspace (aggregates only): team aggregates only. It names nobody.
- Select Create credential.
- Copy the credential. It is shown once.
- Under Configure your assistants, choose the Claude Code or Codex tab and copy the setup with your credential filled in.
Create one credential per person or tool, so you can revoke each on its own.
The assistant can call read-only tools, grouped by what they read:
- Docs: search and read these docs, and look up a metric’s definition. Any credential.
- Team and workspace totals: delivery, PR workflow, DORA, benchmarks, AI impact and adoption, interventions, working agreements, sprints, allocation, wellbeing and more. Personal and workspace credentials.
- Repository facts: PR risk baselines, flaky jobs, CI health and test cases for one repository. Personal and workspace credentials.
- Per-person: contributor metrics, pull requests, tickets, AI sessions, review network and code expertise. Personal credentials only.
- Your own data: your inbox and your own AI usage. Personal credentials only.
- People suggestions: reviewer suggestions. Personal credentials only.
- Restricted: AI ROI and spend, initiatives, forecasts, capacity, capitalization, executive reports and more. Personal credentials only, for the roles and plans that open them in the app.
It also has two ready-made prompts: a weekly AI-impact brief and “Is this AI tool paying off?”.
- Contributor-level tools only return people your visibility setting allows.
- Teams below the minimum group size are withheld.
- A tool your role, plan or credential cannot use is left out of the assistant’s list. If the assistant asks for it anyway, it gets a refusal with a stable code, such as
plan_required. - Long lists come in pages of up to 200 rows and 64 KB. Each answer says whether more rows follow.
Not every tool is available to everyone yet. Report tools, such as CI health, delivery forecast and AI adoption, and data tools, such as tickets, sprints and wellbeing, are still rolling out and are switched on per workspace.
The full tool list, with who can call each tool and what it needs, the refusal codes and how pages work, is in the MCP server reference.
REST API
Pull the same analytics into your own scripts and BI tools. The REST API comes with an OpenAPI description.
- An org admin creates API tokens. Each token is tied to a role and to what that role may see.
- The API follows the same rules as the dashboards. It never returns more than that role can see.
See the REST API reference for authentication, endpoints and examples.
Org hierarchy and director roll-ups
See every department and sub-team with what each delivered. A node is one box in the hierarchy. Its numbers include everyone placed under it, sub-teams too. That is the director roll-up: a director sees the whole department in one row.
An org admin builds the hierarchy under Admin → Hierarchy:
- Add nodes and place each person in one node. Placing one of a linked person’s identities places them all.
- Set a manager for a person to define the reporting line. Manager links do not change any node’s numbers.
Or import everything from a CSV instead:
- Use the columns
login,nodeand optionallymanager. - A node is its path from the top, such as
Engineering/Platform. - An import replaces the whole hierarchy.
- Every row is checked first, so one bad row changes nothing.
Open the result at Home → Org Hierarchy.
Attribute filters and group-by
Compare numbers by employment type, level or location. First, your admin defines these contributor attributes. Then:
- Open Efficiency → Attributes.
- Select Add filter → Group by and choose the attribute.
- Or use the Attribute filter to narrow a report to one value.
Things to know:
- A slice with fewer people than the minimum slice size, 5 by default, is hidden from everyone.
- Slices span the whole workspace, so they do not combine with the team or group filter.