Skip to main content
Connector guides

Connect Anthropic Admin

Anthropic Admin lets your AI assistant read the administration side of your Anthropic organization: who is in it, which workspaces and API keys exist, what it uses and spends, and what its…

Written By Christopher Scaminaci

Last updated 21 days ago

Anthropic Admin lets your AI assistant read the administration side of your Anthropic organization: who is in it, which workspaces and API keys exist, what it uses and spends, and what its administrators did. StackJack's tools only read. AI Governance can make changes in this account when you turn that on for the connection. You turn it on under AI Governance, then AI tools, then Vendor changes, with Turn changes on. Making changes in your AI vendor accounts lists what can be changed and the permission each key needs. StackJack connects to the Anthropic Admin API, the Compliance API and the Claude Enterprise Analytics API at one fixed address, so there is no address to enter.

Connecting Anthropic Admin to StackJack gives your AI assistant a family of anthropic_admin_ MCP tools. MCP (Model Context Protocol) tools are the standardized commands an AI assistant can call through StackJack. With them, your AI can:

  • Review people and access - the members and invites of the organization, its workspaces and their members, and, with a Claude Enterprise key, groups, roles and the permissions of each role
  • Check the API key inventory - which keys exist, by hint and id. A key value is never shown
  • Read rate limits - the limits set on the organization and on each workspace
  • Read usage and cost (on Pro plans) - Messages usage and cost reports, one day of Claude Code activity, Claude Enterprise analytics, spend limits and requests to raise them
  • Read the activity feed (on Pro plans) - who did what in the organization, from the Compliance API: the actor (with their email address, IP address and user agent), the time and the type of activity, with no prompt or response text

Every tool only reads. Nothing in your Anthropic organization is created, changed or deleted by these tools, so no tool is marked destructive. No tool returns chat or conversation text.

Which key to create

Anthropic has two products with two kinds of key, and the two kinds reach different tools.

  • A Claude Console organization (platform.claude.com) uses an Admin API key. It starts with sk-ant-admin and has no scopes.
  • A Claude Enterprise organization (claude.ai) uses a scoped key, which carries only the scopes you give it.
  • A Claude Team organization has no programmatic lane, so there is no key to create. Use the Claude Code OpenTelemetry source in AI Governance instead.

A company on both products adds one connection for each, because one connection holds one key. Tools that need the other kind of key say which one.

Create a Claude Console Admin API key

  1. Sign in to the Claude Console as an organization admin.
  2. Go to Settings, then Admin keys.
  3. If you want your AI to read the Compliance activity feed, turn on the Compliance API first, under Settings, then Security, and only then create the key.
  4. Create the key, choose an expiry, and copy it. It starts with sk-ant-admin. Anthropic shows it once.

Create a Claude Enterprise scoped key

  1. In claude.ai, go to Organization settings, then API.
  2. Create a key as the primary owner of the parent organization. An organization owner can create a key with the Compliance scopes for their own organization only.
  3. Choose read scopes only. These are the ones StackJack reads:
    • read:members for members, invites and roles
    • read:analytics for Claude Enterprise analytics
    • read:compliance_activities for the activity feed
    • read:compliance_user_data for chats and sessions (read by AI Governance only, see below)
    • read:compliance_org_data for organization settings and roles, if you want them
    • read:rbac_groups for groups (on a key created for all linked organizations) and read:spend_limits for spend limits, if you want them
  4. Copy the key. Scopes cannot be changed after the key is created.

If you add read:compliance_user_data later, make a separate key for it and add it as a second Anthropic Admin connection.

Connect it in StackJack

  1. Open Connectors, then Anthropic Admin.
  2. Choose the key type: Claude Console Admin API key or Claude Enterprise scoped key.
  3. Paste the key and click Test connection.

There is nothing else to enter. When you edit the connection later, the key box starts empty: leaving it empty keeps the stored key.

What is worth knowing before you start

What Test connection checks

For a Claude Console key, StackJack reads the organization. For a Claude Enterprise key it tries the member list, the activity feed and the analytics summary in turn, because a scoped key carries only the scopes it was created with and any one of the three may be the one it has.

If the key is valid but carries none of the scopes StackJack reads, the test says so and does not count it against the connection. A key that Anthropic rejects does count against the connection: after three failed checks in a row it is switched off until you fix the key.

The Compliance API records StackJack's own reads

Reading the Compliance API is itself recorded in your Compliance activity feed as a compliance_api_accessed event, so StackJack's reads appear there.

Turning the Compliance API off stops Anthropic from recording organization activity. Activity that was not recorded cannot be recovered. Do not turn it off to stop the connection.

AI Governance uses the same connection

AI Governance reads Anthropic through this same connection, so there is no second key to paste. In AI Governance, add a source of the kind you want and choose this connection:

  • Anthropic Console usage and cost, and Claude Code analytics, need a Claude Console Admin API key
  • Claude Enterprise analytics, Claude Enterprise chats and Claude Enterprise sessions need a Claude Enterprise key
  • The Anthropic activity feed works with either kind of key

Chats and sessions reach StackJack only through AI Governance, behind its notice gate and the capture level you choose. They never come back through an anthropic_admin_ tool. The member lists of this connection also help AI Governance match people by email address.

Included with an AI Governance plan

If your organization has a paid AI Governance plan (Pro, Business or Enterprise) or is in the AI Governance beta, Anthropic Admin is included at no extra charge. It runs at the Business level: the same anthropic_admin_ tools, with the Business monthly call quota, and no Anthropic Admin subscription to buy. On the Connectors page the connector shows Included with AI Governance in place of the upgrade buttons, and the Billing page offers no upgrade for it.

Your connection and your key stay as they are. The plan decides only the tool level and the call quota. Nothing is written to your Anthropic Admin subscription, so when the AI Governance plan ends the connector returns to whatever your own subscription says, with nothing to clean up.

If you already pay for Anthropic Admin when a paid plan starts, StackJack emails the account owner once. Under AI Governance, then Billing, Admin connectors included lists each connector you still pay for, with Stop paying for it. That button opens the normal removal on the Billing page, which shows what changes before anything is removed, including any change to the discount on your other connectors. StackJack never removes a subscription for you.

When Anthropic refuses a call

  • The key is rejected: the key is wrong, was deleted or expired. Create a new key and paste it in.
  • The key is not allowed to read this: a Claude Enterprise key was created without the scope the tool needs, or a Claude Console key was created before the Compliance API was turned on. Scopes cannot be changed, so create a new key with the scope and use it as a second connection if you want to keep both.
  • Too many requests: Anthropic limits each part of its API, shared by every key of the organization. StackJack paces its calls well under those limits and backs off when Anthropic asks it to.

Paging through results

Lists page with Anthropic's own cursors, and a tool answers one page at a time with the cursor for the next.

Plans and limits

Reads of members, workspaces, keys and rate limits are available on the Free tier. Reads of usage, cost, analytics, spend limits and the activity feed are Pro. Business reaches the same tools as Pro and differs by monthly call quota.

See the generated Anthropic Admin tool reference for the current inventory, plan assignment, input schemas, and destructive-action labels.

Anthropic Admin tools

anthropic_admin_ · 42 tools · Free 25 · Pro 17

Organization

ToolWhat it does
anthropic_admin_get_api_key
Free · Read-only
Gets one API key of a Claude Console organization by id: name, status, creator, expiry, scope and Anthropic's partial_key_hint.
anthropic_admin_get_group
Free · Read-only
Gets one group of a Claude Enterprise organization by id: name, source (direct or SCIM) and role ids.
anthropic_admin_get_invite
Free · Read-only
Gets one invitation by id: email, role, status and when it was sent, expires and was accepted.
anthropic_admin_get_organization
Free · Read-only
Gets the organization this key belongs to: its id, type and name.
anthropic_admin_get_role
Free · Read-only
Gets one custom role of a Claude Enterprise organization by id.
anthropic_admin_get_user
Free · Read-only
Gets one member of the organization by id: email, name, role and when they were added.
anthropic_admin_get_workspace
Free · Read-only
Gets one workspace of a Claude Console organization by id: name, color, created and archived times, data residency and tags.
anthropic_admin_get_workspace_member
Free · Read-only
Gets one member of one workspace of a Claude Console organization: the member's user_id and workspace role.
anthropic_admin_list_api_keys
Free · Read-only
Lists the API keys of a Claude Console organization, a page at a time: each key's id, name, status, creator, expiry, scope and Anthropic's partial_key_hint.
anthropic_admin_list_group_members
Free · Read-only
Lists the members of one group of a Claude Enterprise organization.
anthropic_admin_list_groups
Free · Read-only
Lists the groups of a Claude Enterprise organization.
anthropic_admin_list_invites
Free · Read-only
Lists the invitations sent for the organization, a page at a time: each invite's id, email, role, status (pending, accepted, expired or deleted) and when it was sent, expires and was accepted.
anthropic_admin_list_rate_limits
Free · Read-only
Lists the rate limits of a Claude Console organization by limit group: each group, the models it covers and its limits.
anthropic_admin_list_role_permissions
Free · Read-only
Lists the permissions granted by one custom role of a Claude Enterprise organization.
anthropic_admin_list_roles
Free · Read-only
Lists the custom roles of a Claude Enterprise organization.
anthropic_admin_list_users
Free · Read-only
Lists the members of the organization, a page at a time: each member's id, email, name, role and when they were added.
anthropic_admin_list_workspace_members
Free · Read-only
Lists the members of one workspace of a Claude Console organization, a page at a time: each member's user_id and workspace role (workspace_admin, workspace_billing, workspace_developer, workspace_restricted_developer or workspace_user).
anthropic_admin_list_workspace_rate_limits
Free · Read-only
Lists the rate limits set for one workspace of a Claude Console organization.
anthropic_admin_list_workspaces
Free · Read-only
Lists the workspaces of a Claude Console organization, a page at a time: each workspace's id, name, color, created and archived times, data residency and tags.

Usage and spend

ToolWhat it does
anthropic_admin_get_claude_code_usage
Pro · Read-only
Gets one UTC day of Claude Code activity for a Claude Console organization: one record per user (by email address) or per API key (by key name), with sessions, lines of code added and removed, commits and pull requests made by Claude Code, tool actions accepted and rejected, and for each model the tokens used and the estimated cost (integer cents).
anthropic_admin_get_cost_report
Pro · Read-only
Gets the cost of a Claude Console organization over time, in daily buckets: each line's amount (a decimal string in CENTS, so "123.45" is $1.23), currency, cost type (tokens, web search, code execution or session usage), model and token type.
anthropic_admin_get_spend_limit
Pro · Read-only
Gets one configured spend limit of a Claude Enterprise organization by id: who it applies to (its scope), its period (daily, weekly or monthly in Anthropic's API reference; its Spend Limits guide says monthly is the only one supported today) and its amount (in cents as a decimal string; null means no numeric limit is set, so read the member's row in anthropic_admin_get_spend_limits to tell unlimited from included usage only).
anthropic_admin_get_spend_limit_increase_request
Pro · Read-only
Gets one spend limit increase request of a Claude Enterprise organization by id: its status (pending, approved or denied), who asked (actor.user_id) and, for a pending request, a spend_summary with the member's current limit and spend so far in the current period.
anthropic_admin_get_spend_limits
Pro · Read-only
Lists the effective spend limits of the current members of a Claude Enterprise organization, a page at a time, one row per member and period: the member (by id), the period (daily, weekly or monthly in Anthropic's API reference; its Spend Limits guide says monthly is the only one supported today), the limit that applies (an amount in cents as a decimal string; null means no limit applies for that period, and another period may still cap the member, and "0" means the plan's included usage only), where that limit was resolved from (source: its type is, for example, user for a personal override, seat_tier, rbac_group or organization, and other types can appear) and the spend so far in the current period.
anthropic_admin_get_usage_report
Pro · Read-only
Gets the token usage of a Claude Console organization over time, in time buckets (oldest first; empty buckets are included): uncached input, cache creation, cache read and output tokens, and web-search requests.
anthropic_admin_list_spend_limit_increase_requests
Pro · Read-only
Lists the requests members made (with Request more usage in claude.ai) to raise their spend limit in a Claude Enterprise organization, a page at a time: each request's status (pending, approved or denied), who asked (actor.user_id) and, for a pending request, a spend_summary with the member's current limit and spend so far in the current period.

Analytics

ToolWhat it does
anthropic_admin_get_analytics_cost_report
Pro · Read-only
Gets the cost of a Claude Enterprise organization over time, in time buckets, across the Claude products.
anthropic_admin_get_analytics_summaries
Pro · Read-only
Gets the organization-wide daily series of a Claude Enterprise organization: daily, weekly and monthly active users, assigned seats, pending invites and adoption rates, with the active-user counts of each Claude product.
anthropic_admin_get_analytics_usage_report
Pro · Read-only
Gets the token usage of a Claude Enterprise organization over time, in time buckets, across the Claude products (seat traffic and direct API-key and automation traffic included).
anthropic_admin_list_analytics_artifacts
Pro · Read-only
Gets the artifacts of a Claude Enterprise organization for one day, by type and sharing status.
anthropic_admin_list_analytics_connectors
Pro · Read-only
Lists the usage of connectors (MCP servers) in a Claude Enterprise organization, a page at a time.
anthropic_admin_list_analytics_plugins
Pro · Read-only
Lists the plugin installs and invocations in a Claude Enterprise organization, a page at a time.
anthropic_admin_list_analytics_projects
Pro · Read-only
Lists the chat activity of each project in a Claude Enterprise organization, a page at a time.
anthropic_admin_list_analytics_skills
Pro · Read-only
Lists the skill usage in a Claude Enterprise organization, a page at a time.
anthropic_admin_list_analytics_users
Pro · Read-only
Lists the daily activity of each person in a Claude Enterprise organization, a page at a time: for each person (id and email address) the chat, Claude Code, Cowork, design, office and science metrics, the web-search count and the last activity date.

Compliance

ToolWhat it does
anthropic_admin_get_compliance_organization_settings
Free · Read-only
Gets the settings in force for one linked organization of a Claude Enterprise organization, after regulatory restrictions, feature rules and defaults are applied (so they can differ from what an administrator configured): typed rows such as data retention periods, content redaction, single sign-on, the IP allowlist and session-duration controls.
anthropic_admin_list_activities
Pro · Read-only
Lists the audit activity feed of an Anthropic organization, newest first, a page at a time: each activity's id (activity_...), time, organization, actor and type, plus fields that depend on the type.
anthropic_admin_list_compliance_group_members
Free · Read-only
Lists the members of one group of a Claude Enterprise organization, a page at a time: each member's user id (user_...), email address and creation and update times.
anthropic_admin_list_compliance_groups
Free · Read-only
Lists the groups of a Claude Enterprise organization, a page at a time: each group's id, name, description, source_type (direct for a group made in claude.ai, scim for one synced from an identity provider), the ids of the roles assigned to it and its creation and update times.
anthropic_admin_list_compliance_organization_roles
Free · Read-only
Lists the custom roles defined on one linked organization of a Claude Enterprise organization, a page at a time: each role's id, name, description and creation and update times.
anthropic_admin_list_compliance_organization_users
Free · Read-only
Lists the current members of one linked organization of a Claude Enterprise organization, oldest member first, a page at a time: each member's id (user_...), full name, email address, built-in organization role and account creation time.
anthropic_admin_list_compliance_organizations
Free · Read-only
Lists every organization linked to the parent of a Claude Enterprise organization, oldest first, a page at a time: each organization's uuid, name and creation time.