Skip to content
Knowledge Base

Claude Integration

Askalot’s MCP server enables Claude to manage surveys, campaigns, respondents, and data analysis directly through conversation. This guide covers setup for all Claude interfaces. Claude is one of Askalot’s three integration points, beside the REST API and the Survey Presentation Format.

The integration exposes 127 tools, each belonging to exactly one of seventeen toolsets. These are the same names you can narrow a connection to with ?toolsets= — see Narrowing the Tools a Connection Sees.

Toolset Tools Examples
sampling 23 Respondents, pools, sampling strategies — create, draw, refresh, preview
fielding 21 Surveys, invitations, interviewer workload, the response flow, synthetic fills
analysis 20 Bundles, the Bronze/Silver/Gold pipeline, coding selection, quality, export
questionnaire 17 Create and manage QML files, validate with Z3, publish, upload
campaign 8 Create campaigns, bind a questionnaire, assign a pool
project 7 Create projects, manage ownership
documents 4 Search and read your indexed research documents
methodology 4 Search 24 peer-reviewed methodology papers
audit 3 Query the audit trail
session 4 See which organizations the session may act in, move it between them, look up users
conversation 4 Record and read back an agent run’s conversation
docs 3 Search and read the Askalot documentation
paper 3 Read and anchor-edit the project’s Research Paper, trace the answerability chain
composite 3 Run a whole chain in one call — fielding, simulation, or the dataset pipeline
tasks 1 get_task_status — poll a long-running job by the task_id it handed back
entitlements 1 Read what your subscription covers
discovery 1 list_toolsets — what each toolset holds and what this connection named

The last eight rows are admitted on every connection whatever it names; the first nine are the ones ?toolsets= filters.

Askalot uses OAuth 2.1 with PKCE, and Claude identifies itself with a Client ID Metadata Document, so there is no registration step. Claude handles the entire flow automatically — you just sign in with your Askalot credentials when prompted.

  1. Claude discovers Askalot’s OAuth endpoints via https://askalot.io/.well-known/oauth-authorization-server
  2. A browser window opens on the usual Askalot sign-in page at oidc.platform.askalot.io: enter your email and sign in as you do on the web. Only if your email has an account on more than one Askalot tenant are you asked which one to use
  3. After sign-in, Claude receives an access token and connects; every call is then served by the tenant you signed in to
  4. Your organization is chosen inside the session, not at sign-in: list_organizations shows where you are and switch_organization moves you

A connection made before Askalot moved to the single address needs one new sign-in.

No API keys or manual token management required.

A sign-in ends when you sign out of the Askalot server in the client, when you lose access to the organization, or after 30 days without use. Changing or resetting your Askalot password ends every MCP sign-in you hold, on every machine, along with your browser sessions; each client signs in again at its next call. For a lost or stolen machine, change your password. If you cannot, or want only one machine’s sign-in ended, contact [email protected]. Revoking API tokens in Profile Settings does not end an MCP sign-in.

Endpoint Purpose
GET /.well-known/oauth-authorization-server Server metadata discovery
GET /.well-known/oauth-protected-resource/mcp Protected resource metadata
GET /authorize Authorization (redirects to the Askalot sign-in)
POST /token Token exchange (authorization_code, refresh_token)
POST /revoke Token revocation

All of them are on https://askalot.io.

Supported features: Authorization Code with PKCE (S256), refresh tokens, Client ID Metadata Documents, scopes (mcp:read, mcp:write, mcp:admin).

MCP endpoint: https://askalot.io/mcp

The same address serves every Askalot account — free trial, paying customer, university or community organization. You do not need to know which tenant holds yours; the sign-in finds it.

  1. Go to claude.ai and open Settings
  2. Navigate to Integrations (or Connectors)
  3. Click Add Custom MCP Server
  4. Enter:
    • Name: Askalot
    • URL: https://askalot.io/mcp
  5. Click Connect — a browser window opens for OAuth login
  6. Log in with your Askalot credentials and authorize access

Claude Desktop connects to Askalot as a remote custom connector — you get the MCP tools / API only (no agents, skills, or commands), and there is no desktop extension (.mcpb) to install because Askalot is a remote server.

  1. Open Settings → Connectors (in some builds this is under Customize → Connectors)
  2. Click Add custom connector
  3. Enter:
    • Name: Askalot
    • Remote MCP server URL: https://askalot.io/mcp
  4. Click Add — a browser window opens for OAuth login
  5. Log in with your Askalot credentials and authorize access

The OAuth consent is interactive and one-time; Claude Desktop stores and refreshes the token for you. After connecting, the survey, campaign, dataset, and analysis tools appear in the connector’s tool list. There is no API key or static token to paste — Askalot uses OAuth 2.1.

If you prefer editing the config file directly, add the remote server under mcpServers in the file for your system:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"askalot": {
"type": "http",
"url": "https://askalot.io/mcp"
}
}
}

Restart Claude Desktop after saving. On first use, a browser window opens for OAuth login.

Claude Code can connect in two ways.

/plugin marketplace add askalot-io/askalot-plugin
/plugin install askalot@askalot

The plugin bundles the Askalot agents, skills, slash commands, and the MCP tools. Its MCP wiring (.mcp.json) is type: http pointed at https://askalot.io/mcp with interactive OAuth — no static bearer token and nothing to set before launching Claude Code. On the first tool call a browser opens for the sign-in described under How It Works.

If you only want the tools (no agents/skills/commands):

Terminal window
claude mcp add --transport http askalot https://askalot.io/mcp

On first use, Claude Code opens a browser for OAuth login. After authentication, the token is stored locally and refreshed automatically.

You: Create a customer satisfaction campaign with 50 test respondents.
Claude: I'll set up that campaign for you.
→ list_projects() — found "Customer Research" project
→ create_campaign("CSAT Q1 2026", project_id, questionnaire_id, admits_volunteers=false, offers_ai_channel=false)
→ bulk_create_respondents(50, project_id)
→ create_respondent_pool("CSAT Pool", respondent_ids=...)
→ assign_pool_to_campaign(campaign_id, pool_id)
Done! Campaign "CSAT Q1 2026" is ready with 50 respondents.
You: Extract and weight the results from my latest campaign.
Claude: I'll build a Bundle and derive a weighted dataset from your campaign data.
→ list_campaigns(status="completed")
→ create_bundle("CSAT Results", project_id, questionnaire_id, campaign_ids=[campaign_id])
→ create_bronze_dataset(bundle_id)
→ code_open_ends(bundle_id) # codes open-ends, then weights the coded case base
→ get_dataset(silver_dataset_id) # poll until "ready" — comparing earlier returns a conflict
→ compare_bundle_quality(bundle_id)
The weighted dataset reduced RMSE from 0.08 to 0.02.
Gender distribution now matches targets within 1%.
You: Check my new questionnaire for logical errors.
Claude: I'll run Z3 analysis on your QML file.
→ validate_qml_file("satisfaction.qml")
The questionnaire has 12 items across 3 blocks.
Found 1 issue: Item 'q_followup' is unreachable because
its precondition requires q_satisfied < 3, but q_satisfied
uses a scale of 1-5 with no path setting it below 3.

All tools include MCP annotations for safe AI interaction:

  • Read-only tools (list_*, get_*, search_*): Marked with readOnlyHint=true — Claude can call these freely
  • Write tools (create_*, update_*): Marked with destructiveHint=false — safe mutations
  • Delete tools (delete_*, remove_*): Marked with destructiveHint=true — Claude will confirm before executing
  • External tools (send_*_invitation): Marked with openWorldHint=true — sends real emails

The read-only annotation is not only advice to Claude: in a sealed organization it is what Askalot itself uses to decide which calls to refuse. Anything not marked read-only is treated as a write there and answered with org_sealed — except the design-time tools that only ever start or walk a preview, which change nothing in the research record and keep working.

Listing tools support pagination to keep responses concise:

→ list_respondents(name="Smith", limit=10)
→ list_campaigns(status="active", limit=5)
→ list_surveys(status="completed", limit=20)

All listing tools default to limit=100 and return metadata:

{
"items": [...],
"count": 10,
"limit": 100
}