Skip to content

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.

  1. In Claude, open Settings → Connectors. Find Survey Coder in the directory, or choose Add custom connector and enter:

    https://api.surveycoder.io/mcp
  2. Claude sends you to SurveyCoder. Sign in if needed, then click Authorize on the screen “Claude wants to access your Survey Coder account”.

  3. 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.

  1. Ask “I want crosstabs from a .sav file”. Claude returns the upload link. Files attached to the chat do not reach SurveyCoder: the .sav has to go through that link.

  2. 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.

  3. 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.”

  4. 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.

  5. 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 .sav files.
ToolWhat it does
tabulation_base_prepareBuilds or refreshes the analysis base from the original .sav and the current coded responses. Free.
tabulation_catalogLists the questions, multi-column questions, banners and filter codes available for a query, and proposes group sets for a key answer.
tabulation_queryCalculates 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_saveReads and saves the design of the table book: questions, banners, scales. Saving takes two steps.
tabulation_generate / tabulation_statusPreviews 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_resultsResults of a coded question, computed like the dashboard: respondents per category and code over the question base, plus sample verbatims.
advisor_question_segmentsResults of a coded question broken down by a segment variable, with each segment’s base and 95% significance letters.
ToolWhat it does
projects_searchFinds your projects by name, brand, category, country or imported file name.
advisor_attentionLists what needs attention: pending Refine suggestions, and exports held for review or failed.
advisor_project_statusStatus of one project: responses, coding progress, pending suggestions, latest import and exports.
upload_linkReturns the portal link where you upload a survey file.
inbox_listFiles uploaded in the last 30 days that have not been imported yet, and failed imports.
advisor_analyze_savAnalyzes 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_applyImports the uploaded file with that plan, or as tables only. Two steps.
wave_checkChecks whether an uploaded file fits as the next wave of a tracking study. You add the wave in the portal.
ToolWhat it does
advisor_review_question_setupExplains how a question is configured to be coded and flags settings that are usually mistakes.
question_config_updateChanges how one question will be coded: AI instructions, multi-mention, the “Others” threshold, context columns. Two steps.
question_add_from_fileAdds one question that was left out of an imported project. Two steps, no credits.
codebook_generate / codebook_getGenerates the codebook of a question and reads it. Generating spends no coding credits.
codebook_reorganizeMoves codes, creates or renames categories and creates codes. Two steps.
coding_estimateExact credit estimate for coding, question by question. Costs nothing.
coding_startStarts coding the questions from a previous estimate. Spends credits. Two steps.
refine_suggestions / refine_resolveReads the pending Refine suggestions and resolves them: approve, edit, dismiss or assign to an existing code. Resolving takes two steps.
ToolWhat it does
deliverable_createCreates 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_linkLists a project’s recent exports and returns a fresh download link.
credits_overviewYour credit balance, recent spending and purchases, and the assistant’s credit limits.

Every tool that changes your project or spends credits works in two steps:

  1. 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.
  2. 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_start spends 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_apply refuses to import into a project that already has questions. Only with replace_existing: true does it re-import, and that deletes the project’s existing questions and codes; the summary says so before you confirm.
  • “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.”
  • 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.

The connector is free. Coding consumes credits exactly as it does in the portal; see your balance and purchases under Usage in SurveyCoder.

In SurveyCoder, go to Settings → Connected apps and click Revoke access. Access stops immediately. You can also remove the connector from Claude’s settings.

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.