Skip to main content
Glama
mcp-chat-visualizer

mcp-chat-visualizer

by Asar007

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

Related MCP server: CaptureMind

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

  1. You ask the LLM to visualize the conversation

  2. The LLM calls the visualize_chat tool with the conversation text

  3. The tool returns structured prompt instructions

  4. The LLM follows the instructions and generates the mind map JSON

  5. 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

Available Tools

1 tool
visualize_chatVisualize ChatA

Visualize a conversation as a hierarchical mind map. Pass the conversation text and receive structured instructions. Follow the returned instructions to generate the mind map JSON.

Inputs: conversation (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of selecting the wrong tool. The tool's purpose is clearly and uniquely described.

    Naming Consistency5/5

    The single tool 'visualize_chat' follows a clear verb_noun pattern, making its function predictable and consistent.

    Tool Count3/5

    The server has only one tool, which feels thin on the count scale, though it is appropriately scoped for a very specific visualization purpose.

    Completeness5/5

    The tool covers the full intended functionality of converting conversation text into mind map instructions, with no obvious missing operations for its narrow domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that converts Markdown content into interactive mindmaps, allowing AI assistants to visualize hierarchical information through either HTML content or saved files.
      1
      1,900 PyPI
      240
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Compresses AI chat sessions into a typed knowledge graph (~300–800 tokens). Works file-based in Copilot, Claude Code, Cursor, and Gemini CLI without MCP server mode. Supports local/offline extraction via Ollama — no API key required.
      9
      2
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Captures ideas from conversations and organizes them into a persistent, hierarchical mindmap. Supports search, deduplication, export, import, and cloud sync.
      13
      10 npm
      MIT