Uses Auth0 JWT tokens for authentication when making requests to the Subconscious AI backend API.
Provides REST API endpoints for calling tools directly via HTTP, enabling integration with n8n workflows for AI-powered conjoint experiments and causal research.
Supports self-hosting deployment on Vercel platform, with a hosted instance available at ghostshell-runi.vercel.app for MCP SSE connections.
Provides REST API endpoints for calling tools directly via HTTP, enabling integration with Zapier workflows for AI-powered conjoint experiments and causal research.
Subconscious AI MCP Server
Run AI-powered conjoint experiments from Claude, Cursor, or any MCP-compatible client. Understand why people make decisions using causal inference and synthetic populations.
β¨ Features
π§ Causal Research - Validate research questions and generate statistically valid experiments
π₯ Synthetic Populations - AI personas based on US Census microdata (IPUMS) for representative sampling
π Conjoint Analysis - AMCE (Average Marginal Component Effects) for measuring attribute importance
π€ MCP Protocol - Works with Claude Desktop, Cursor, and any MCP-compatible AI assistant
π REST API - Direct HTTP access for integrations (n8n, Zapier, custom apps)
β‘ Real-time Updates - Server-Sent Events (SSE) for live experiment progress
π Quick Start
Option 1: Use Hosted Server (Recommended)
No setup required! Add to your MCP client configuration:
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
Cursor (~/.cursor/mcp.json):
π Get your token at app.subconscious.ai β Settings β Access Token
Option 2: Run Locally
Prerequisites:
Python 3.11+
A Subconscious AI account and Access token
Add to your MCP config:
π Available Tools
Tool | Description |
| Validate that a research question is causal |
| Generate experiment attributes and levels using AI |
| Validate target population demographics |
| Get population statistics for a country |
| Create and run a conjoint experiment |
| Check experiment progress |
| List all your experiments |
| Get detailed experiment results |
| Get detailed run information |
| Get run artifacts and files |
| Update run configuration |
| Generate AI personas for an experiment |
| Get personas for an experiment |
| Get AMCE analytics data |
| Get AI-generated causal insights |
π¬ Example Workflow
π REST API
Call tools directly via HTTP for integrations:
π‘ API Endpoints
Endpoint | Method | Auth | Description |
| GET | No | Server info and available tools |
| GET | No | Health check |
| GET | No | List all tools with schemas |
| GET | Yes | MCP SSE connection (token in query param) |
| POST | Yes | Call a tool directly |
ποΈ Self-Hosting on Vercel
Deploy your own instance for your organization:
Configure environment variables in Vercel dashboard:
API_BASE_URL:https://api.subconscious.ai(or your backend URL)
β οΈ Users must provide their own tokens - the server proxies requests to the Subconscious AI backend.
π‘ Feature Requests & Support
Have a feature request or need help? Email us at nihar@subconscious.ai
π Resources
Subconscious AI Platform - Create experiments via UI
API Documentation β Full API reference
MCP Protocol - Model Context Protocol specification
Conjoint Analysis - Learn about the methodology
π License
This software requires an active Subconscious AI subscription. See the LICENSE file for details.