Toggle navigation
Home
▼ Details
Products and pricing
Chart gallery
User stories
Text analytics
CDC NAMCS Library
Blog
Tutorials
Contact
Sign in
Post Editor
← All help posts
View post
Save
This endpoint exposes Protobi projects to Claude as a queryable database via the Model Context Protocol over Streamable HTTP. Claude discovers the survey elements, emits Protobi canonical SQL, and receives weighted distributions back. ## Connect from Claude.ai Add a custom connector with one of these URLs and authenticate with your Protobi API key in the x-api-key header. The connector can only reach projects your account is authorized to access. ## URL Use https://fly.protobi.com/mcp Account-level: tools take a projectId argument. https://fly.protobi.com/mcp/project/<projectId> Pinned to one project (no argument needed). ## Tools **list_elements** List every element/dimension: key, title, and value labels. Call this first. **execute_query** Run a Protobi SELECT and get weighted distributions with labels. ## Protobi SQL ```sql SELECT * FROM S1 GROUP BY S2 WHERE S4 <= 2 ``` Here, `FROM `is the element to tabulate, `GROUP BY` is the banner, `WHERE` filters respondents. Protobi element names are case sensitive.
Publishing
Date
Status
Published
Draft
Slug
edit
Content
Thumbnail
Categories
Manage
New to Protobi?
Charts
Making Changes
Intermediate topics for editors
Frequently Asked Questions
SERMO Topics
Tutorial Pages
Internal Docs
Data Processing
Videos
Obsolete
GSG Admin
SERMO Admin
GSG Topics
How to...
Basics for viewers
Basics for editors
For project admins
Advanced topics
Assessments
Articles (in-progress)
New and updated articles
Process data in Protobi
superseded
Text open-end questions
Troubleshooting
Tracking studies
Organizing the view
API References
Tools
AI Database
Checking AI...
Convert to MD
Danger zone
Delete