Data Visualization
Venn Diagram Maker
Draw a Venn diagram for 2 to 4 sets, labeling each region with its size and intersections
html· HTML resultOpen tool
Quick start
Call this tool from your code in three languages.
cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/venn-diagram-maker' \
-H 'Content-Type: application/json' \
-d '{"setsData":"{\n \"sets\": [\n { \"name\": \"Search\", \"size\": 30 },\n { \"name\": \"Filters\", \"size\": 25 },\n { \"name\": \"Export\", \"size\": 20 }\n ],\n \"intersections\": {\n \"Search+Filters\": 10,\n \"Search+Export\": 6,\n \"Filters+Export\": 5,\n \"Search+Filters+Export\": 2\n }\n}","chartTitle":"Feature Adoption","colorScheme":"default","showLabels":true,"showValues":true,"circleOpacity":45}'API reference
Send a POST request with your inputs as JSON. File parameters require a separate upload first.
Endpoint
HTTP
POST https://api.elysiatools.com/en/api/tools/venn-diagram-makerParameters
| Name | Type | Required | Description |
|---|---|---|---|
| setsData | textarea | Yes | JSON with 2–4 sets (name + size) and optional intersection values keyed like "A+B" |
| chartTitle | text | No | — |
| colorScheme | select | Yes | — |
| showLabels | checkbox | No | — |
| showValues | checkbox | No | — |
MCP integration
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Server configuration
Add this block to your MCP client configuration:
mcp.json
{
"mcpServers": {
"elysiatools-venn-diagram-maker": {
"name": "venn-diagram-maker",
"description": "Draw a Venn diagram for 2 to 4 sets, labeling each region with its size and intersections",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=venn-diagram-maker",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}List available tools
After connecting to the SSE endpoint, list the exposed tools:
tools/list
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Call this tool
Invoke the tool by its id, passing arguments built from its parameters:
tools/call
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "venn-diagram-maker",
"arguments": {
"setsData": "{\n \"sets\": [\n { \"name\": \"Search\", \"size\": 30 },\n { \"name\": \"Filters\", \"size\": 25 },\n { \"name\": \"Export\", \"size\": 20 }\n ],\n \"intersections\": {\n \"Search+Filters\": 10,\n \"Search+Export\": 6,\n \"Filters+Export\": 5,\n \"Search+Filters+Export\": 2\n }\n}",
"chartTitle": "Feature Adoption",
"colorScheme": "default",
"showLabels": true,
"showValues": true,
"circleOpacity": 45
}
}
}Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).