Connects Claude to SocioLogic's synthetic persona platform for conversational market research. Exposes 24 tools covering persona management (list, create, retrieve memories), campaign orchestration (create multi-persona studies, execute interviews, export reports), focus groups, and web research. Runs on Cloudflare Workers at mcp.sociologic.ai with sub-50ms latency. Authentication via API key in headers, 100 free credits on signup. Reach for this when you need to interview realistic customer personas with consistent demographics and RAG-backed memory, run cohort studies, or generate board-ready research reports without leaving your AI workflow. Credit-based pricing scales with persona fidelity and campaign size.
Public tool metadata for what this MCP can expose to an agent.
sociologic_list_personas[Research/Personas] List available synthetic personas from the SocioLogic marketplace or your private collection. Use this to discover personas for interviews or campaigns.5 params[Research/Personas] List available synthetic personas from the SocioLogic marketplace or your private collection. Use this to discover personas for interviews or campaigns.
pageintegersearchstringcategorystringper_pageintegervisibilitystringpublic · private · alldefault: publicsociologic_get_persona[Research/Personas] Get detailed information about a specific persona including demographics, psychographics, and behavioral traits.1 params[Research/Personas] Get detailed information about a specific persona including demographics, psychographics, and behavioral traits.
slugstringsociologic_create_persona[Research/Personas] Create a new AI persona from a natural language description. Returns rich persona data including demographics, psychographics, communication style, and behavioral traits. Use the returned data to role-play as this persona in conversation, or pass it to a su...3 params[Research/Personas] Create a new AI persona from a natural language description. Returns rich persona data including demographics, psychographics, communication style, and behavioral traits. Use the returned data to role-play as this persona in conversation, or pass it to a su...
descriptionstringx402_paymentobjectinclude_avatarbooleansociologic_get_persona_memories[Research/Personas] Retrieve a persona's semantic memories. Memories are vector-embedded learnings from past interactions that inform future responses.3 params[Research/Personas] Retrieve a persona's semantic memories. Memories are vector-embedded learnings from past interactions that inform future responses.
slugstringlimitintegerquerystringsociologic_list_campaigns[Research/Campaigns] List your research campaigns. Campaigns are structured multi-persona interview sessions with defined questions.4 params[Research/Campaigns] List your research campaigns. Campaigns are structured multi-persona interview sessions with defined questions.
limitintegeroffsetintegerstatusstringdraft · running · completed · failedinclude_interviewsbooleansociologic_get_campaign[Research/Campaigns] Get detailed information about a specific campaign including status, personas, questions, and interview results.1 params[Research/Campaigns] Get detailed information about a specific campaign including status, personas, questions, and interview results.
idstringsociologic_create_campaign[Research/Campaigns] Create a new research campaign. Define questions and either generate new personas or use existing ones. Campaigns enable systematic multi-persona research.8 params[Research/Campaigns] Create a new research campaign. Define questions and either generate new personas or use existing ones. Campaigns enable systematic multi-persona research.
namestringquestionsarraydescriptionstringpersona_briefstringpersona_countintegerfocus_group_idsarrayresearch_contextobjectexisting_persona_idsarraysociologic_execute_campaign[Research/Campaigns] Execute a draft campaign. This triggers background interviews with all personas and generates a research report. Long-running operation.1 params[Research/Campaigns] Execute a draft campaign. This triggers background interviews with all personas and generates a research report. Long-running operation.
idstringsociologic_export_campaign[Research/Campaigns] Export a completed campaign's results as PDF or JSON. PDF includes executive summary, persona responses, and synthesized findings.2 params[Research/Campaigns] Export a completed campaign's results as PDF or JSON. PDF includes executive summary, persona responses, and synthesized findings.
idstringformatstringpdf · jsondefault: pdfsociologic_list_focus_groups[Research/Focus Groups] List your focus groups. Focus groups are collections of personas for cohort-based research.2 params[Research/Focus Groups] List your focus groups. Focus groups are collections of personas for cohort-based research.
limitintegeroffsetintegersociologic_get_focus_group[Research/Focus Groups] Get detailed information about a focus group including its member personas.1 params[Research/Focus Groups] Get detailed information about a focus group including its member personas.
idstringsociologic_create_focus_group[Research/Focus Groups] Create a new focus group to organize personas for cohort-based research.2 params[Research/Focus Groups] Create a new focus group to organize personas for cohort-based research.
namestringdescriptionstringsociologic_add_personas_to_focus_group[Research/Focus Groups] Add one or more personas to an existing focus group.2 params[Research/Focus Groups] Add one or more personas to an existing focus group.
persona_idsarrayfocus_group_idstringsociologic_get_credits_balance[Payments] Check your current credits balance. Credits are used for persona interviews and campaign execution.[Payments] Check your current credits balance. Credits are used for persona interviews and campaign execution.
No parameter schema in public metadata yet.
sociologic_get_x402_discovery[Payments] Get x402 payment discovery information. Returns which endpoints accept crypto payments (USDC on Base), wallet address, pricing, and facilitator details.[Payments] Get x402 payment discovery information. Returns which endpoints accept crypto payments (USDC on Base), wallet address, pricing, and facilitator details.
No parameter schema in public metadata yet.
sociologic_search_web[Search & Scraping] Search the web and return scraped results. Returns markdown content from matching pages.2 params[Search & Scraping] Search the web and return scraped results. Returns markdown content from matching pages.
limitintegerquerystringsociologic_research_topic[Search & Scraping] Search a topic and aggregate content from multiple web sources. Returns summarized results useful for building research context.2 params[Search & Scraping] Search a topic and aggregate content from multiple web sources. Returns summarized results useful for building research context.
topicstringsource_countintegersociologic_rng_uuid[Utilities] Generate a cryptographically random UUID v4. Useful for creating unique identifiers for experiments, sessions, or tracking.[Utilities] Generate a cryptographically random UUID v4. Useful for creating unique identifiers for experiments, sessions, or tracking.
No parameter schema in public metadata yet.
sociologic_rng_random[Utilities] Generate a cryptographically random floating-point number between 0 and 1. Uses hardware entropy for true randomness. Returns a float. Use sociologic_rng_int for integers in a specific range.[Utilities] Generate a cryptographically random floating-point number between 0 and 1. Uses hardware entropy for true randomness. Returns a float. Use sociologic_rng_int for integers in a specific range.
No parameter schema in public metadata yet.
sociologic_rng_int[Utilities] Generate a cryptographically random integer within a range. Default range is 0-100. Uses hardware entropy for true randomness.2 params[Utilities] Generate a cryptographically random integer within a range. Default range is 0-100. Uses hardware entropy for true randomness.
maxintegerminintegersociologic_rng_dice[Utilities] Roll a cryptographically random die with a configurable number of sides. Default is a 6-sided die. Uses hardware entropy for true randomness.1 params[Utilities] Roll a cryptographically random die with a configurable number of sides. Default is a 6-sided die. Uses hardware entropy for true randomness.
sidesintegersociologic_rng_coin[Utilities] Flip a cryptographically random coin. Returns heads or tails. Uses hardware entropy for true randomness.[Utilities] Flip a cryptographically random coin. Returns heads or tails. Uses hardware entropy for true randomness.
No parameter schema in public metadata yet.
sociologic_rng_shuffle[Utilities] Randomly shuffle an array of items using the Fisher-Yates algorithm with cryptographic randomness. Useful for randomizing survey question order, A/B test assignments, or persona selection.1 params[Utilities] Randomly shuffle an array of items using the Fisher-Yates algorithm with cryptographic randomness. Useful for randomizing survey question order, A/B test assignments, or persona selection.
itemsarraysociologic_rng_weighted[Utilities] Select a random item from an array using weighted probabilities with cryptographic randomness. Useful for simulating demographic distributions, market share splits, or probability-based scenarios.2 params[Utilities] Select a random item from an array using weighted probabilities with cryptographic randomness. Useful for simulating demographic distributions, market share splits, or probability-based scenarios.
itemsarrayweightsarrayA remote MCP (Model Context Protocol) server that connects AI agents to SocioLogic's synthetic persona platform. Interview realistic customer personas, run multi-persona research campaigns, and export board-ready reports—all through natural conversation.
The fastest way to get started is using our hosted server at https://mcp.sociologic.ai.
Get an API key at sociologic.ai/dashboard/api-keys (100 free credits on signup)
Configure your MCP client:
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"sociologic": {
"transport": "http",
"url": "https://mcp.sociologic.ai",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Claude Code (.mcp.json in your project):
{
"mcpServers": {
"sociologic": {
"transport": "http",
"url": "https://mcp.sociologic.ai",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Deploy your own instance to Cloudflare Workers:
# Clone the repository
git clone https://github.com/SocioLogicAI/signal-relay.git
cd signal-relay
# Install dependencies
npm install
# Login to Cloudflare
npx wrangler login
# Deploy
npx wrangler deploy
Your server will be available at https://sociologic-mcp-server.<your-subdomain>.workers.dev
npm run dev
Starts a local server at http://localhost:8787.
| Tool | Description |
|---|---|
sociologic_list_personas | List synthetic personas from marketplace or private collection |
sociologic_get_persona | Get detailed persona information (demographics, psychographics, traits) |
sociologic_create_persona | Generate a new persona from natural language description |
sociologic_get_persona_memories | Retrieve persona's semantic memories via vector search |
sociologic_list_campaigns | List research campaigns with status and results |
sociologic_get_campaign | Get campaign details including interviews and findings |
sociologic_create_campaign | Create multi-persona research campaign with custom questions |
sociologic_execute_campaign | Execute draft campaign (async background processing) |
sociologic_export_campaign | Export campaign results as PDF or JSON |
sociologic_list_focus_groups | List focus groups for cohort-based research |
sociologic_get_focus_group | Get focus group details with member personas |
sociologic_create_focus_group | Create new focus group to organize personas |
sociologic_add_personas_to_focus_group | Add personas to an existing focus group |
sociologic_get_credits_balance | Check current credits balance and usage |
sociologic_search_web | Search the web and scrape results |
sociologic_research_topic | Research a topic with multiple sources |
| Endpoint | Method | Description |
|---|---|---|
/ | POST | JSON-RPC 2.0 endpoint for MCP protocol |
/health | GET | Health check (requires API key) |
/info | GET | Server information and available tools |
curl -X POST https://mcp.sociologic.ai/ \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "sociologic_list_personas",
"arguments": {
"visibility": "public",
"per_page": 10
}
}
}'
| Variable | Description | Default |
|---|---|---|
SOCIOLOGIC_API_URL | Backend API URL | https://www.sociologic.ai |
[vars]
SOCIOLOGIC_API_URL = "https://www.sociologic.ai"
X-API-Key header or Authorization: Bearer headerFor production deployments, we recommend enabling Cloudflare's rate limiting:
┌─────────────────┐ ┌─────────────────────┐ ┌─────────────────┐
│ │ │ │ │ │
│ MCP Client │─────▶│ Cloudflare Worker │─────▶│ SocioLogic API │
│ (Claude, etc) │ │ (This Server) │ │ │
│ │◀─────│ │◀─────│ │
└─────────────────┘ └─────────────────────┘ └─────────────────┘
│ │ │
│ MCP Protocol │ REST API │
│ (JSON-RPC 2.0) │ (HTTPS) │
└─────────────────────────┴──────────────────────────┘
| Operation | Credits |
|---|---|
| List personas | 1 |
| Get persona | 1 |
| Create persona | 5-50 (by fidelity tier) |
| Interview persona | 1 per message |
| Campaign execution | Varies by size |
Free tier: 100 credits on signup. See sociologic.ai/pricing for details.
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.