mcp-chat-visualizer
Visualizes conversations as structured hierarchical mind maps by injecting a prompt that instructs the LLM to generate a JSON mind map — no external APIs required.
README
mcp-chat-visualizer
An MCP (Model Context Protocol) server that visualizes conversations as structured hierarchical mind maps.
When you call the visualize_chat tool, it injects a mind map generation prompt into the conversation. The LLM then generates a structured JSON mind map of your chat — no API keys or external calls needed.
Installation
npm install -g mcp-chat-visualizer
Or use directly with npx:
npx mcp-chat-visualizer
Setup
Add to your MCP client config (Claude Code, Claude Desktop, etc.):
{
"mcpServers": {
"chat-visualizer": {
"command": "npx",
"args": ["mcp-chat-visualizer"]
}
}
}
Claude Code
claude mcp add chat-visualizer -- npx mcp-chat-visualizer
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"chat-visualizer": {
"command": "npx",
"args": ["mcp-chat-visualizer"]
}
}
}
Usage
Once configured, ask your LLM to visualize the conversation:
"Visualize this conversation as a mind map"
The LLM will call the visualize_chat tool and generate a JSON mind map like:
{
"metadata": { "topic": "...", "contentType": "mindmap", "nodeCount": 12 },
"nodes": [
{ "id": "root", "data": { "label": "Main Topic", "type": "root", "summary": "...", "hoverSummary": "..." } },
{ "id": "cat1", "data": { "label": "Category", "type": "category", "summary": "...", "hoverSummary": "..." } },
{ "id": "leaf1", "data": { "label": "Detail", "type": "leaf", "summary": "...", "hoverSummary": "..." } }
],
"edges": [
{ "id": "e1", "source": "root", "target": "cat1", "type": "connects" },
{ "id": "e2", "source": "cat1", "target": "leaf1", "type": "connects" }
],
"hierarchy": {
"root": ["cat1"],
"cat1": ["leaf1"]
}
}
JSON Schema
| Field | Description |
|---|---|
metadata |
Topic name, content type, total node count |
nodes |
Array of nodes with id, label, type (root/category/leaf), summary, hoverSummary |
edges |
Connections between nodes (source → target) |
hierarchy |
Parent-children mapping matching the edges |
Node Types
- root — Central topic of the conversation
- category — High-level grouping (4-6 per map)
- leaf — Specific details, facts, or examples
The mind map goes 3-4 levels deep: Root → Categories → Sub-categories → Leaves.
How It Works
- You ask the LLM to visualize the conversation
- The LLM calls the
visualize_chattool with the conversation text - The tool returns structured prompt instructions
- The LLM follows the instructions and generates the mind map JSON
- You get the JSON in the chat, ready to use in your UI
No external API calls. No API keys. The server is a lightweight prompt delivery mechanism — the LLM does all the generation.
License
ISC
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.