Skip to main content
Glama
tdognin

Watsonx Visualization MCP Server

by tdognin

Watsonx Visualization MCP Server

A comprehensive Model Context Protocol (MCP) server for automated data visualization and analysis, designed for seamless integration with IBM Watsonx Orchestrate.

🎯 Overview

This MCP server provides intelligent data visualization tools that automatically:

  • Select the most appropriate chart type based on data structure

  • Generate comprehensive data analysis and insights

  • Create visualizations in multiple formats (HTML, PNG, Word)

  • Support 40+ chart types including advanced visualizations

  • Provide statistical analysis, trend detection, and recommendations

✨ Features

Intelligent Chart Selection

Automatically determines the best visualization type based on:

  • Data structure and dimensions

  • Temporal patterns

  • Hierarchical relationships

  • Statistical distributions

  • Correlation patterns

Supported Chart Types

  • Basic: bar, column, line, area, pie

  • Stacked: stacked bar, stacked column

  • Statistical: boxplot, scatter, bubble, heatmap

  • Hierarchical: sunburst, tree map, hierarchy bubble, packed bubble

  • Temporal: line, area, dual axes lines, dual axes column

  • Specialized: waterfall, gantt chart, radar, wordcloud, network, tornado

  • KPI: kpi, bullet

  • Tabular: table, crosstab

  • Geographic: map, legacy map

  • Advanced: marimekko, radial, spiral, decision tree

Comprehensive Analysis

  • Statistical measures (mean, median, std dev, quartiles, etc.)

  • Trend detection and forecasting indicators

  • Correlation analysis

  • Outlier detection

  • Pattern recognition

  • Actionable recommendations

Multiple Output Formats

  • HTML: Interactive, responsive visualizations

  • PNG: High-quality static images

  • Word: Professional documents with analysis

πŸš€ Quick Start

Prerequisites

  • Node.js 18+

  • npm or yarn

  • IBM Watsonx Orchestrate account

Installation

  1. Clone or navigate to the project directory:

cd watsonx-visualization-mcp
  1. Install dependencies:

npm install
  1. Start the MCP server:

npm start

For development with auto-reload:

npm run dev

πŸ”§ Configuration

MCP Server Configuration

Add to your MCP settings file (e.g., ~/.config/mcp/settings.json):

{
  "mcpServers": {
    "watsonx-visualization": {
      "command": "node",
      "args": ["/path/to/watsonx-visualization-mcp/src/mcp-server/index.js"],
      "env": {}
    }
  }
}

Watsonx Orchestrate Integration

See WATSONX_INTEGRATION.md for detailed setup instructions.

πŸ“– Usage

Tool 1: generate_visualization

Generate a single visualization with automatic chart type selection and analysis.

Parameters:

  • data (required): JSON data to visualize

  • chartType (optional): Specific chart type (auto-selected if not provided)

  • outputFormat (optional): 'html', 'png', or 'word' (default: 'html')

  • includeAnalysis (optional): Include data analysis (default: true)

  • title (optional): Chart title

  • options (optional): Additional chart configuration

Example:

{
  "data": [
    {"month": "Jan", "sales": 1200, "profit": 300},
    {"month": "Feb", "sales": 1500, "profit": 450},
    {"month": "Mar", "sales": 1800, "profit": 600}
  ],
  "title": "Q1 Sales Performance",
  "outputFormat": "html",
  "includeAnalysis": true
}

Tool 2: analyze_data

Perform comprehensive data analysis without visualization.

Parameters:

  • data (required): JSON data to analyze

  • analysisType (optional): 'statistical', 'trend', 'correlation', or 'summary'

Example:

{
  "data": [
    {"product": "A", "sales": 1200, "cost": 800},
    {"product": "B", "sales": 1500, "cost": 900}
  ],
  "analysisType": "statistical"
}

Tool 3: create_dashboard

Create a comprehensive dashboard with multiple visualizations.

Parameters:

  • datasets (required): Array of dataset configurations

  • outputFormat (optional): 'html' or 'word' (default: 'html')

  • dashboardTitle (optional): Dashboard title

Example:

{
  "datasets": [
    {
      "data": [{"category": "A", "value": 100}],
      "chartType": "pie",
      "title": "Distribution"
    },
    {
      "data": [{"month": "Jan", "sales": 1200}],
      "chartType": "line",
      "title": "Trend"
    }
  ],
  "dashboardTitle": "Sales Dashboard",
  "outputFormat": "html"
}

πŸ“Š Data Format Examples

Simple Object Format

{
  "Category A": 100,
  "Category B": 200,
  "Category C": 150
}

Array of Objects Format

[
  {"category": "A", "value": 100, "target": 120},
  {"category": "B", "value": 200, "target": 180},
  {"category": "C", "value": 150, "target": 160}
]

Time Series Format

[
  {"date": "2024-01-01", "sales": 1200, "expenses": 800},
  {"date": "2024-02-01", "sales": 1500, "expenses": 900},
  {"date": "2024-03-01", "sales": 1800, "expenses": 1000}
]

Network Format

[
  {"source": "A", "target": "B", "value": 10},
  {"source": "B", "target": "C", "value": 20},
  {"source": "A", "target": "C", "value": 15}
]

Gantt Chart Format

[
  {"task": "Planning", "start": "2024-01-01", "end": "2024-01-15"},
  {"task": "Development", "start": "2024-01-16", "end": "2024-02-28"},
  {"task": "Testing", "start": "2024-03-01", "end": "2024-03-15"}
]

πŸ—οΈ Architecture

watsonx-visualization-mcp/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ mcp-server/          # MCP server implementation
β”‚   β”œβ”€β”€ visualization-engine/ # Chart generation
β”‚   β”œβ”€β”€ analysis-engine/      # Data analysis
β”‚   β”œβ”€β”€ output-generators/    # Format converters
β”‚   └── utils/               # Helper utilities
β”œβ”€β”€ docs/                    # Documentation
β”œβ”€β”€ examples/                # Usage examples
β”œβ”€β”€ tests/                   # Test suites
└── config/                  # Configuration files

🎨 Styling

All visualizations follow IBM Carbon Design System guidelines:

  • IBM Plex Sans font family

  • Carbon color palette

  • Accessible color contrasts

  • Responsive layouts

  • Professional styling

πŸ§ͺ Testing

Run tests:

npm test

Run with coverage:

npm run test:coverage

πŸ“š Documentation

🀝 Contributing

Contributions are welcome! Please read our contributing guidelines before submitting PRs.

πŸ“„ License

MIT License - see LICENSE file for details

πŸ†˜ Support

For issues and questions:

  • GitHub Issues: [Create an issue]

  • Documentation: docs/

  • Examples: examples/

πŸ”„ Version History

v1.0.0 (Current)

  • Initial release

  • 40+ chart types supported

  • Intelligent chart selection

  • Comprehensive analysis engine

  • Multiple output formats

  • Watsonx Orchestrate integration

πŸ™ Acknowledgments


Made with ❀️ for IBM Watsonx Orchestrate

-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tdognin/watsonx-visualization-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server