loading…
Search for a command to run...
loading…
A Model Context Protocol server that provides comprehensive control over the Qualtrics platform, enabling survey creation, question management, logic flows, dis
A Model Context Protocol server that provides comprehensive control over the Qualtrics platform, enabling survey creation, question management, logic flows, distributions, contacts, and response exports through natural language.
A Model Context Protocol (MCP) server that gives Claude full control over the Qualtrics platform. Build surveys, manage questions, configure logic flows, distribute via email, handle contacts, export responses, and more — all through natural language.
53 tools across 8 domains covering the entire Qualtrics API surface:
| Domain | Tools | Capabilities |
|---|---|---|
| Surveys | 8 | Create, list, get, update, delete, activate, deactivate, estimate export size |
| Questions | 7 | Full CRUD + simplified helpers for multiple choice, text entry, and matrix/Likert |
| Blocks | 4 | Create, list, update, delete survey blocks |
| Survey Flow | 7 | Get/update flow, add embedded data, add web services, list fields, piped text reference |
| Responses | 7 | Export (with smart filtering + auto-save), get/create/update/delete individual responses |
| Contacts | 7 | Mailing lists CRUD, individual + bulk contact import, update, remove |
| Distributions | 5 | Email distributions, anonymous links, reminders, list, delete |
| Webhooks | 3 | Event subscriptions for survey lifecycle events |
| Users | 2 | List organization users, get user details |
list_surveys — List surveys with filtering and paginationget_survey — Get survey details, optionally with full definitioncreate_survey — Create a new surveyupdate_survey — Update name, status, expirationdelete_survey — Delete with name confirmation safety checkactivate_survey / deactivate_survey — Toggle collectionestimate_export_size — Preview data size before downloadinglist_questions — List all questions with types and previewsget_question — Get full question definitioncreate_question — Create with full Qualtrics spec (any type/selector)update_question — Modify text, choices, validationdelete_question — Remove a questionadd_multiple_choice_question — Simplified MC creation from a list of choice stringsadd_text_entry_question — Simplified TE creation (single/multi/essay)add_matrix_question — Simplified Likert/matrix with statements + scale pointslist_blocks / create_block / update_block / delete_blockget_survey_flow — Full flow tree (blocks, randomizers, branches, embedded data, web services)update_survey_flow — Replace the entire flowadd_embedded_data — Inject embedded data fields into the flowadd_web_service — Call external APIs mid-survey with response-to-field mappinglist_embedded_data — List all declared embedded data fieldslist_web_services — List all web service elementspiped_text_reference — Look up ${e://Field/...}, ${q://QID.../...}, etc. syntaxexport_responses — Export all responses (auto-saves large files to Downloads)export_responses_filtered — Export with date ranges, completion filters, question selectioncheck_export_status — Poll an in-progress export jobget_response / create_response / update_response / delete_responselist_mailing_lists / create_mailing_list / delete_mailing_listlist_contacts — Paginated contact listadd_contact / update_contact / remove_contactbulk_import_contacts — Import multiple contacts at oncelist_distributions / get_distribution / delete_distributioncreate_anonymous_link — Generate a shareable survey URLcreate_email_distribution — Send survey invitations to a mailing listcreate_reminder — Send follow-up reminders for existing distributionslist_webhooks / create_webhook / delete_webhookcompletedResponse.{surveyId}, controlpanel.activateSurvey, etc.list_users / get_userset_read_only_mode — Toggle read-only mode at runtime (blocks all write/update/delete operations)git clone https://github.com/yrvelez/qualtrics-mcp-server.git
cd qualtrics-mcp-server
pnpm install
Configure environment variables:
cp .env.example .env
# Edit .env with your Qualtrics credentials
Set these in your .env file:
| Variable | Required | Default | Description |
|---|---|---|---|
QUALTRICS_API_TOKEN |
Yes | — | Your Qualtrics API token |
QUALTRICS_DATA_CENTER |
Yes | — | Data center ID (e.g., yul1) |
QUALTRICS_BASE_URL |
No | Auto-generated | Custom base URL override |
QUALTRICS_READ_ONLY |
No | false |
Block all write/delete operations (safe exploration mode) |
RATE_LIMITING_ENABLED |
No | true |
Enable/disable rate limiting |
RATE_LIMIT_RPM |
No | 50 |
Requests per minute |
REQUEST_TIMEOUT |
No | 30000 |
Request timeout in ms |
Set QUALTRICS_READ_ONLY=true to block all write, update, and delete operations. This is useful for safely exploring surveys and exporting data without risk of accidental changes. You can also toggle this at runtime using the set_read_only_mode tool.
Add to your claude_desktop_config.json:
{
"mcpServers": {
"qualtrics": {
"command": "npx",
"args": ["tsx", "/path/to/qualtrics-mcp-server/src/index.ts"],
"env": {
"QUALTRICS_API_TOKEN": "your_api_token",
"QUALTRICS_DATA_CENTER": "your_data_center_id"
}
}
}
}
Once configured, ask Claude things like:
Survey building:
Data collection:
Data export:
Flow & logic:
src/
config/settings.ts — Environment config with Zod validation
services/
qualtrics-client.ts — HTTP client with auth, rate limiting, read-only enforcement
survey-api.ts — Survey + question + block CRUD
flow-api.ts — Survey flow management
response-api.ts — Response export + individual response CRUD
contact-api.ts — Mailing list + contact management
distribution-api.ts — Email distributions + anonymous links
user-api.ts — Organization user lookups
webhook-api.ts — Event subscription management
tools/
survey-tools.ts — Survey MCP tool definitions
question-tools.ts — Question MCP tools (raw + simplified helpers)
block-tools.ts — Block MCP tools
flow-tools.ts — Flow, embedded data, web service, piped text tools
response-tools.ts — Export + individual response tools
contact-tools.ts — Mailing list + contact tools
distribution-tools.ts — Distribution tools
user-tools.ts — User tools
webhook-tools.ts — Webhook tools
_helpers.ts — Shared tool result helpers
index.ts — Tool registry
types/ — TypeScript type definitions
utils/ — File saving utilities
pnpm start # Run the server
pnpm dev # Run with file watching
pnpm typecheck # Type check with tsgo
| Problem | Solution |
|---|---|
"Unexpected token 'Q'" |
Ensure no console.log statements interfere with MCP JSON protocol |
"Read-only file system" |
Use absolute paths or let auto-save write to Downloads |
| Large file timeouts | Use export_responses_filtered with date ranges and questionIds |
| Rate limit errors | Built-in rate limiting handles this automatically; reduce RATE_LIMIT_RPM if needed |
MIT
Выполни в терминале:
claude mcp add qualtrics-mcp-server -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.