Fresh from Vilnius: see how we pitched AI Adoption Score to an audience of 800+ at TestCon Europe on October 23Fresh from TestCon, Oct 23: our pitch to 800+ people

AI Adoption Score API

Read AI Adoption Score's surveys, reports and people from your own AI agent. The API is the app's MCP server: read-only, signed in with OAuth, and limited to what the signed-in person can see in the app.

At a glance

  • Endpoint: https://app.ai-adoption-score.app/mcp
  • Protocol: MCP over Streamable HTTP: JSON-RPC 2.0 in a POST, answered as JSON, no session
  • Sign-in: OAuth 2.0 authorization code flow with PKCE (S256)
  • Scope: adoption.read, read-only
  • Access: what the signed-in person can see in the app, in every organization they belong to
  • Limit: 60 tool calls a minute per person, stated in RateLimit headers
  • Errors: JSON problem details (RFC 9457) with a code and a hint
  • Changes: at least 30 days' notice before anything is removed or changed, in Deprecation and Sunset headers
  • Machine-readable: OpenAPI description, API catalog, protected-resource metadata

When to use it

Use the API when an AI agent or assistant should answer questions about your organization's own results in AI Adoption Score:

  • Summarize the open reports and their suggested actions, or follow how many people have answered.
  • Explain what a survey measures and how it's scored, before you launch it or while you read its report.
  • Look up one person's latest results across the reports you can open.
  • Draft an invitation or a reminder with a survey's link and closing date, for you to send.

It isn't for changing anything: it can't launch a survey, invite people, send a reminder or edit a report. It never returns anyone's individual answers.

Sign-in and scopes

The MCP server is an OAuth 2.0 protected resource. A request without a valid access token gets 401 and a challenge that says where to sign in and which scope to ask for:

WWW-Authenticate: Bearer resource_metadata="https://app.ai-adoption-score.app/.well-known/oauth-protected-resource/mcp", scope="adoption.read"
Scope What it grants
adoption.read Read, through the MCP server, the surveys, reports, analytics and people the signed-in person can already see in the app. Required.
openid Sign in with OpenID Connect: the person's id.
email The signed-in person's email address.
offline_access A refresh token. Clients that may use refresh tokens get one either way, so access lasts while they stay connected.

Ask for adoption.read: it is the only scope the MCP server accepts, and it reads nothing the person can't already see in the app.

Tools

Nine tools, all read-only. Each returns what the person would see on the same page of the app.

Tool What it returns Inputs
get_surveys The surveys the platform offers, with enough about each one to tell them apart: what it's for, how long it takes, and whether your organization has run it before. organization_id (optional)
get_survey Everything about one survey: what it measures, who it's for, how it's scored, its question groups and questions. survey_id, organization_id (optional)
get_reports The reports you can open in any of your organizations, as on the Reports page, with each survey's link, how people get in and when it closes. Never a survey's password. include_archived (optional), organization_id (optional)
get_report One report's results, as its Insights tab shows them: headline numbers, group scores, conclusions and suggested actions. Never names or individual answers. report_id
get_report_analytics How people moved through one report's survey, as its Analytics tab shows it. Names only where the report shows them; never answers. report_id, response (optional)
get_report_documentation One report's Documentation tab: what the AI Market Pulse's markers mean, with their evidence and history, the 360°'s archetypes and goals, or Software Quality Management's sections and questions. report_id
get_person One person across the reports you can open, as their page in People shows them: their latest result in every survey they finished, the change since their previous run, and the company figure next to theirs. Never their answers. organization_id (optional), person_id (optional), search (optional)
get_profile Your name, email and every organization you belong to, with your roles and permissions in each. None
get_help The Help Center's answers, with links to the pages they name. None

Calling it

Start with initialize, then list the tools and call one. Each POST carries one JSON-RPC message and the access token:

POST /mcp HTTP/1.1
Host: app.ai-adoption-score.app
Authorization: Bearer <access token>
Content-Type: application/json
Accept: application/json, text/event-stream

{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_reports","arguments":{}}}

Errors

Every error from the server is JSON, as RFC 9457 problem details (application/problem+json): error is the code to act on, hint says what to do, and type links to the error's section below. A request with an expired token, for example, gets 401 and:

{
  "type": "https://ai-adoption-score.app/developers#invalid-token",
  "title": "Invalid access token",
  "status": 401,
  "detail": "The access token is expired, malformed or not issued for this server.",
  "error": "invalid_token",
  "hint": "Refresh the access token, or sign in again, and send the new one."
}

An address on the server's host that nothing answers gets one too, as does a method /mcp doesn't take. The MCP protocol's own errors are JSON-RPC errors, and a tool that fails answers inside its result, with isError and a message.

Unauthorized

401, "error": "unauthorized", "Sign-in required". The request has no access token. Sign in with OAuth 2.0 (authorization code flow with PKCE) and send the access token as Authorization: Bearer <token>. The WWW-Authenticate header names the metadata to start from and the scope to ask for.

Invalid token

401, "error": "invalid_token", "Invalid access token". The access token is expired, malformed or not issued for this server. Refresh the access token, or sign in again, and send the new one.

Insufficient scope

403, "error": "insufficient_scope", "Missing scope". The access token does not carry the scope this server needs. Sign in again and ask for the scope the WWW-Authenticate header names.

Forbidden

403, "error": "forbidden", "Access denied". The person behind this access token cannot use AI Adoption Score through this connection. Check in the app that the account is active and belongs to an organization, then connect again.

Origin not allowed

403, "error": "origin_not_allowed", "Origin not allowed". A browser sent this request from an origin this server does not allow. Call the server from Claude or ChatGPT, or from a server, which sends no Origin header.

Not found

404, "error": "not_found", "Not found". Nothing answers at this address. The API is the MCP server at https://app.ai-adoption-score.app/mcp: one JSON-RPC message per POST, signed in with OAuth 2.0.

Method not allowed

405, "error": "method_not_allowed", "Method not allowed". This address does not take this method. Send MCP messages with POST. The Allow header lists the methods this address takes.

Service unavailable

503, "error": "service_unavailable", "Service unavailable". The connection is switched off for now, or sign-in cannot be checked. Try again in a few minutes.

Limits

Each person may make 60 tool calls a minute, and each network address 1,200; nothing but tool calls counts. Every answer from the server states both quotas in a RateLimit-Policy header, and an answer to a tool call says what's left of each in a RateLimit header, the fields of the IETF's RateLimit header draft:

RateLimit-Policy: "person";q=60;w=60, "address";q=1200;w=60
RateLimit: "person";r=59;t=42, "address";r=1187;t=42

q is the quota and w the window in seconds; r is the calls left and t the seconds until the window starts over. Past the limit, a call answers "Too many calls" with the seconds to wait, and RateLimit shows r=0.

Versioning and deprecation

The API's version is the MCP protocol version: the client and the server agree on it in initialize, and the client sends it in the MCP-Protocol-Version header on every later request.

Before we remove or change a tool, an input or an MCP protocol version, /mcp answers carry a Deprecation header (RFC 9745) and a Sunset header (RFC 8594) with the dates, at least 30 days ahead, and the changelog says so:

Deprecation: @1798761600
Sunset: Mon, 01 Feb 2027 00:00:00 GMT

Deprecation is when it was deprecated, in seconds since 1970; Sunset is when it stops working.

Files for agents

  • OpenAPI description: the endpoint, its OAuth security scheme with named scopes, its typed errors and its rate-limit headers.
  • API catalog (RFC 9727): this API, its OpenAPI description, these docs and its protected-resource metadata.
  • llms.txt: every page of the site, for AI assistants.
  • Markdown: the home page, this page and every blog article answer Accept: text/markdown with Markdown, or add .md to the address, as in https://ai-adoption-score.app/developers.md.

Connect Claude or ChatGPT

No code needed: AI Adoption Score is in Claude's connector directory and ChatGPT's plugin directory. What you can ask, and who sees what, is on the MCP server page.

AI Coding Usage add-on

The one command-line tool is the add-on behind AI Coding Usage. It counts how a person uses Claude Code and Codex on their Mac and shares the numbers with their company's survey; prompts, the AI's answers, code and file names never leave the Mac. Nobody installs it by hand: the survey page shows one line with a one-time code to paste into Claude Code, Codex or Terminal:

npx @ai-adoption-score/ai-coding-usage@latest connect <code>

Its source is open, under the MIT license, in our GitHub organization.

Not available yet

There's no separate REST API, API key, webhook or SDK: the MCP server is the API, and it only reads.