SurveyCoder MCP server for Claude (SPSS crosstabs and survey coding)
The SurveyCoder MCP server lets market research analysts work with their survey data from Claude. It does two jobs:
- Ask questions of an SPSS file. Upload a
.sav, then ask for tables and crosstabs in plain language: by demographics, by promoters against everyone else, by people who chose a brand against those who did not. A tabulation engine computes the percentages, bases and significance tests; Claude explains them and builds the charts or the deck. You do not need SPSS installed. - Code open-ended answers. Claude analyzes the file, proposes a coding plan, generates the codebook for your review and starts coding, always after you confirm.
The server works with your own SurveyCoder user and permissions: Claude sees exactly what you see in the portal, nothing more.
Connect it
Section titled “Connect it”-
In Claude, open Settings → Connectors. Find Survey Coder in the directory, or choose Add custom connector and enter:
https://api.surveycoder.io/mcp -
Claude sends you to SurveyCoder. Sign in if needed, then click Authorize on the screen “Claude wants to access your Survey Coder account”.
-
You’re back in Claude with the connector enabled. Try “I want crosstabs from a .sav file” or “What needs my attention?”.
Sign-in uses OAuth 2.1 (authorization code with PKCE) through SurveyCoder’s
own account system; Claude never sees your password. Discovery metadata is
published at https://api.surveycoder.io/.well-known/oauth-protected-resource.
The transport is Streamable HTTP.
SurveyCoder is also published as a ChatGPT app. This page documents the Claude connector; what the ChatGPT app covers is described on the connector page.
Ask questions of your survey data
Section titled “Ask questions of your survey data”-
Ask “I want crosstabs from a .sav file”. Claude returns the upload link. Files attached to the chat do not reach SurveyCoder: the
.savhas to go through that link. -
Come back to the conversation. Claude checks the file and shows what it will import. If there is nothing to code, say “tables only”: nothing is coded and no coding credits are spent.
-
Ask for the main questions in total, then by the cuts you care about: “Show me Q12, Q13 and Q17 by gender, age and city.”
-
Ask for cuts by a key answer: “Compare promoters (9 and 10) with everyone else on Q17 and Q22.” Claude builds those groups for the request and does not save them to the project.
-
Ask for the dashboard, the slides or the recommendations. Claude builds them from the numbers it received.
What comes back, and what to check:
- Each request takes up to twelve questions and up to four banners.
- Every column carries its base, and low bases are flagged.
- Significance letters between columns appear on category rows and on battery summaries. On a single question, Top 2 Box and mean rows come without letters, and NPS carries no test.
- There are usage limits: 60 calculated tables per project per hour and 300 per organization per day. Cached answers do not count.
- Top 2 Box and mean are only computed when the direction of the scale can be identified, from its value labels or because you declared it. Otherwise you get the full distribution, with no assumption that the highest number is the best.
- This path works with
.savfiles.
Results and tables
Section titled “Results and tables”| Tool | What it does |
|---|---|
tabulation_base_prepare | Builds or refreshes the analysis base from the original .sav and the current coded responses. Free. |
tabulation_catalog | Lists the questions, multi-column questions, banners and filter codes available for a query, and proposes group sets for a key answer. |
tabulation_query | Calculates one or several questions on the whole file, crossed by up to four banners, with optional filters and ad-hoc groups. Nothing is saved. |
tabulation_design_get / tabulation_design_save | Reads and saves the design of the table book: questions, banners, scales. Saving takes two steps. |
tabulation_generate / tabulation_status | Previews and generates the full table book in Excel, and reports its progress. Two steps; the preview shows the cost (free during the open beta). |
advisor_question_results | Results of a coded question, computed like the dashboard: respondents per category and code over the question base, plus sample verbatims. |
advisor_question_segments | Results of a coded question broken down by a segment variable, with each segment’s base and 95% significance letters. |
Projects and files
Section titled “Projects and files”| Tool | What it does |
|---|---|
projects_search | Finds your projects by name, brand, category, country or imported file name. |
advisor_attention | Lists what needs attention: pending Refine suggestions, and exports held for review or failed. |
advisor_project_status | Status of one project: responses, coding progress, pending suggestions, latest import and exports. |
upload_link | Returns the portal link where you upload a survey file. |
inbox_list | Files uploaded in the last 30 days that have not been imported yet, and failed imports. |
advisor_analyze_sav | Analyzes an uploaded .sav, .xlsx or .csv and proposes a plan: which open-ended questions to code and how, and the estimated credits. Imports nothing and spends no credits. |
plan_apply | Imports the uploaded file with that plan, or as tables only. Two steps. |
wave_check | Checks whether an uploaded file fits as the next wave of a tracking study. You add the wave in the portal. |
Coding
Section titled “Coding”| Tool | What it does |
|---|---|
advisor_review_question_setup | Explains how a question is configured to be coded and flags settings that are usually mistakes. |
question_config_update | Changes how one question will be coded: AI instructions, multi-mention, the “Others” threshold, context columns. Two steps. |
question_add_from_file | Adds one question that was left out of an imported project. Two steps, no credits. |
codebook_generate / codebook_get | Generates the codebook of a question and reads it. Generating spends no coding credits. |
codebook_reorganize | Moves codes, creates or renames categories and creates codes. Two steps. |
coding_estimate | Exact credit estimate for coding, question by question. Costs nothing. |
coding_start | Starts coding the questions from a previous estimate. Spends credits. Two steps. |
refine_suggestions / refine_resolve | Reads the pending Refine suggestions and resolves them: approve, edit, dismiss or assign to an existing code. Resolving takes two steps. |
Deliverables and credits
Section titled “Deliverables and credits”| Tool | What it does |
|---|---|
deliverable_create | Creates a deliverable and returns its download link: coded results in Excel or .sav, the codebook, or one of your saved export templates. |
deliverables_list / deliverable_link | Lists a project’s recent exports and returns a fresh download link. |
credits_overview | Your credit balance, recent spending and purchases, and the assistant’s credit limits. |
Nothing runs without your confirmation
Section titled “Nothing runs without your confirmation”Every tool that changes your project or spends credits works in two steps:
- The first call returns a summary (what will be imported, which questions will be coded and how many credits it costs, what will change in the codebook) and a confirmation token.
- Claude shows you the summary. The action only runs if you confirm and Claude calls again with that token. The token expires, works once, and is rejected if anything changed since the summary.
Two more safeguards:
- Credits.
coding_startspends credits exactly like coding from the portal. Each action is capped at 5,000 credits and each user at 20,000 credits per day through the connector (limits can be adjusted per organization). Questions that are already coded are never charged again. - Replacing data.
plan_applyrefuses to import into a project that already has questions. Only withreplace_existing: truedoes it re-import, and that deletes the project’s existing questions and codes; the summary says so before you confirm.
Example prompts
Section titled “Example prompts”- “I want crosstabs from a .sav file.”
- “Show me Q5 by city, with bases and significance.”
- “Compare people who would buy the product with those who would not, on Q8 and Q9.”
- “With these results, build a dashboard with charts and the three main findings.”
- “Analyze the .sav I uploaded to the brand study and propose a coding plan. Don’t code columns Q3_5 to Q3_10.”
- “How much would it cost to code the consumer habits project?”
- “Give me the results in Excel and the codebook for the coffee project.”
What it does not do
Section titled “What it does not do”- It cannot receive files attached in the chat: ask “I want to upload a new file” and Claude gives you the upload link.
- It does not add tracking waves (it can check the file first with
wave_check); you add the wave in the portal. - It does not approve exports held for review; those are approved in the portal.
- It does not delete projects.
Pricing
Section titled “Pricing”The connector is free. Coding consumes credits exactly as it does in the portal; see your balance and purchases under Usage in SurveyCoder.
Remove access
Section titled “Remove access”In SurveyCoder, go to Settings → Connected apps and click Revoke access. Access stops immediately. You can also remove the connector from Claude’s settings.
Privacy and support
Section titled “Privacy and support”The connector acts with your session and your organization’s permissions. We log which tools were called, when, how long they took and whether they failed, and which project or upload they referred to, to operate and support the service. The contents of your questions, responses and results are not stored in that log. The results Claude receives in order to answer you are processed by Anthropic under your Claude account’s settings.
- Privacy policy: surveycoder.io/privacy
- Support: support@surveycoder.io