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.
Overview
Section titled “Overview”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.
Authentication
Section titled “Authentication”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.
How It Works
Section titled “How It Works”- Claude discovers Askalot’s OAuth endpoints via
https://askalot.io/.well-known/oauth-authorization-server - 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 - After sign-in, Claude receives an access token and connects; every call is then served by the tenant you signed in to
- Your organization is chosen inside the session, not at sign-in:
list_organizationsshows where you are andswitch_organizationmoves you
A connection made before Askalot moved to the single address needs one new sign-in.
No API keys or manual token management required.
Ending a sign-in
Section titled “Ending a sign-in”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.
OAuth Endpoints
Section titled “OAuth Endpoints”| 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).
Connection Address
Section titled “Connection Address”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.
Claude.ai (Web)
Section titled “Claude.ai (Web)”- Go to claude.ai and open Settings
- Navigate to Integrations (or Connectors)
- Click Add Custom MCP Server
- Enter:
- Name:
Askalot - URL:
https://askalot.io/mcp
- Name:
- Click Connect — a browser window opens for OAuth login
- Log in with your Askalot credentials and authorize access
Claude Desktop
Section titled “Claude Desktop”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.
Add a custom connector (recommended)
Section titled “Add a custom connector (recommended)”- Open Settings → Connectors (in some builds this is under Customize → Connectors)
- Click Add custom connector
- Enter:
- Name:
Askalot - Remote MCP server URL:
https://askalot.io/mcp
- Name:
- Click Add — a browser window opens for OAuth login
- 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.
Configuration-file alternative
Section titled “Configuration-file alternative”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 (CLI)
Section titled “Claude Code (CLI)”Claude Code can connect in two ways.
Install the Askalot plugin (full surface)
Section titled “Install the Askalot plugin (full surface)”/plugin marketplace add askalot-io/askalot-plugin/plugin install askalot@askalotThe 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.
Add the MCP server only
Section titled “Add the MCP server only”If you only want the tools (no agents/skills/commands):
claude mcp add --transport http askalot https://askalot.io/mcpOn first use, Claude Code opens a browser for OAuth login. After authentication, the token is stored locally and refreshed automatically.
Usage Examples
Section titled “Usage Examples”Create a Survey Campaign
Section titled “Create a Survey Campaign”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.Analyze Survey Results
Section titled “Analyze Survey Results”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%.Validate a Questionnaire
Section titled “Validate a Questionnaire”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 becauseits precondition requires q_satisfied < 3, but q_satisfieduses a scale of 1-5 with no path setting it below 3.Tool Annotations
Section titled “Tool Annotations”All tools include MCP annotations for safe AI interaction:
- Read-only tools (
list_*,get_*,search_*): Marked withreadOnlyHint=true— Claude can call these freely - Write tools (
create_*,update_*): Marked withdestructiveHint=false— safe mutations - Delete tools (
delete_*,remove_*): Marked withdestructiveHint=true— Claude will confirm before executing - External tools (
send_*_invitation): Marked withopenWorldHint=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.
Pagination
Section titled “Pagination”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}