MCP server for natural-language data visualization with DuckDB and Databricks

MCP server for natural-language data visualization with DuckDB and Databricks

mcp-visualization-duckdb•byxoniks

An MCP server that lets Claude Desktop query DuckDB or Databricks data and generate interactive Plotly charts from natural-language requests.

License: MIT•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Generates interactive Plotly HTML chart widgets from conversational requests.
  • •Supports multiple chart types including bar, line, scatter, pie, histogram, box, heatmap, and area charts.
  • •Works with a local DuckDB database, including CSV import and database browsing.
  • •Connects to Databricks SQL warehouses with credentials stored securely in the keyring or encrypted files.

BEST FOR

  • •Analysts who want to visualize sales and customer data in DuckDB through natural-language prompts in Claude Desktop.
  • •Teams exploring enterprise Databricks catalogs and schemas from Claude Desktop.
  • •Users seeking statistical insights and smart chart suggestions without external LLM dependencies.

ABOUT MCP-VISUALIZATION-DUCKDB

MCP server for natural-language data visualization with DuckDB and Databricks is cataloged as an MCP server attributed to xoniks. An MCP server that lets Claude Desktop query DuckDB or Databricks data and generate interactive Plotly charts from natural-language requests. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for natural-language data visualization with DuckDB and Databricks are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Do I need to reconfigure Databricks every time I use the server?

No. Credentials are stored securely and loaded automatically, so after the one-time setup you can open Claude Desktop and start chatting without repeated authentication.

Are my Databricks credentials stored safely?

Yes. Credentials are encrypted on disk or stored in the system keyring, and they are never written to plain text files or command history.

Can the server work with both DuckDB and Databricks?

Yes. The server auto-detects which database type is configured and uses the appropriate one.

Upstream README

View this exact version on GitHub

README.md · 85413a4dd8bf · Fetched 2026-11-13 13:28:12 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

🎯 MCP Data Visualization Server

Transform natural language into beautiful, interactive data visualizations using Claude Desktop with DuckDB and Databricks support - one-command installation!

✨ Features

  • 🚀 One-Command Installation - pip install mcp-visualization-duckdb
  • 🔧 Automatic Configuration - Automatically sets up Claude Desktop
  • 🗣️ Natural Language Interface - Chat with Claude to create visualizations
  • 📊 Interactive Charts - Plotly-powered HTML widgets
  • 🏢 Databricks Integration - Connect to Databricks SQL warehouses with secure credential management
  • 🗃️ DuckDB Support - Local database with CSV import and interactive browser
  • 🔄 Multi-Database - Seamlessly switch between DuckDB and Databricks
  • 🧠 Rule-Based Analysis - Smart chart suggestions without external LLM dependencies
  • 📈 Multiple Chart Types - Bar, line, scatter, pie, histogram, box plots, heatmaps, and area charts
  • 🔍 Smart Insights - Automatic statistical analysis and pattern detection
  • 🛡️ Security First - SQL injection protection, encrypted credential storage
  • ⚡ No External Dependencies - Works entirely offline with Claude Desktop

🚀 Quick Installation

Option A: DuckDB (Local Database)

# 1. Install the package (includes DuckDB and all dependencies)
pip install mcp-visualization-duckdb

# 2. Configure Claude Desktop automatically
mcp-viz configure

# 3. Restart Claude Desktop and start chatting!

That's it! No manual configuration needed.

Note: DuckDB and all other dependencies are automatically installed with the package. No separate database installation required!

Option B: Databricks (Enterprise Data Warehouse)

# 1. Install the package
pip install mcp-visualization-duckdb

# 2. Configure Databricks credentials (secure, interactive setup)
mcp-viz databricks configure

# 3. Configure Claude Desktop (auto-detects Databricks)
mcp-viz configure

# 4. Restart Claude Desktop and start chatting!

For Databricks, you'll need:

  • Databricks workspace hostname (e.g., your-company.cloud.databricks.com)
  • SQL warehouse HTTP path (e.g., /sql/1.0/warehouses/abc123)
  • Personal access token (generated in Databricks User Settings > Developer > Access Tokens)

🔒 Security: Credentials are stored securely using your system keyring or encrypted files. Tokens are never stored in plain text or command history.

What the installer does automatically:

  • ✅ Detects your platform (Windows/Mac/Linux)
  • ✅ Finds Claude Desktop config automatically
  • ✅ Auto-detects database type (DuckDB or Databricks)
  • ✅ Sets up database with sample data (DuckDB)
  • ✅ Securely stores credentials (Databricks)
  • ✅ Configures paths correctly
  • ✅ Creates backups of existing config
  • ✅ Validates setup to ensure it works

🚀 After Installation

Once installed, you'll see detailed instructions with:

  • Next steps for your chosen database type
  • Quick start commands
  • Sample database links
  • Example queries to try

Run mcp-viz-setup anytime to see the post-installation guide again!

🔄 Ongoing Usage (After Setup)

✅ One-Time Setup Only

# Run these commands ONCE:
mcp-viz databricks configure  # First time Databricks setup
mcp-viz configure             # Configure Claude Desktop  
# Restart Claude Desktop

📋 Daily Usage - No Reconfiguration Needed

# Just open Claude Desktop and start chatting:
"What Databricks catalogs are available?"
"List tables in the sales catalog" 
"Create a chart of revenue by region"

🔍 Check Status Anytime

mcp-viz databricks status    # Shows if credentials exist
mcp-viz databricks test      # Test connection and browse catalogs
mcp-viz status              # Shows MCP server configuration

🔄 When You Need to Reconfigure

  • ❌ Token expires (personal access tokens can have expiration dates)
  • ❌ Change workspaces (different Databricks instance)
  • ❌ Change SQL warehouses (different HTTP path)
  • ❌ Credential issues (run mcp-viz databricks remove then reconfigure)

💾 Secure Credential Storage

  • 🔒 Encrypted on disk or in system keyring
  • 🔄 Automatically loaded when Claude Desktop starts
  • ⚡ No repeated authentication needed

📝 Note: After initial setup, you should be able to use Claude Desktop normally without any additional configuration steps!

🎮 Usage with Claude Desktop

After installation, simply chat with Claude using natural language:

Data Analysis

  • "What tables are available?" - List database tables
  • "What Databricks catalogs are available?" - Browse Databricks catalogs
  • "Show me schemas in the sales catalog" - List schemas
  • "Analyze the sales table" - Get table information
  • "Show me the top 10 products by revenue" - Query data

Creating Visualizations

  • "Create a bar chart of sales by region" - Generate charts
  • "Show me the correlation between price and quantity" - Scatter plots
  • "Make a pie chart of customer segments" - Category breakdowns
  • "Visualize sales trends over time" - Time series analysis

Database Management

DuckDB:

  • "Browse databases in my Downloads folder" - Interactive database browser
  • "Connect to C:/path/to/mydata.duckdb" - Switch databases
  • "Load CSV from Downloads/sales.csv as table 'sales'" - Import data

Databricks:

  • "Switch to the marketing catalog" - Navigate catalogs
  • "List schemas in the sales catalog" - Browse schemas
  • "What database am I connected to?" - Connection info

🔧 CLI Commands

The package includes a powerful CLI:

# Configuration
mcp-viz configure              # Interactive setup (auto-detects database type)
mcp-viz configure --auto       # Automatic setup with defaults
mcp-viz status                 # Check configuration status

# Management  
mcp-viz test                   # Test server functionality
mcp-viz remove                 # Remove server from Claude Desktop

# DuckDB Database
mcp-viz create-db              # Create sample database
mcp-viz create-db --path ./my-data.duckdb  # Create at specific path

# Databricks Integration
mcp-viz databricks configure   # Setup Databricks credentials (interactive)
mcp-viz databricks status      # Check Databricks connection status
mcp-viz databricks test        # Test connection and browse catalogs
mcp-viz databricks remove      # Remove stored credentials

📊 Supported Chart Types

Chart TypeUse CaseExample Request
BarCompare categories"Show sales by region"
LineShow trends over time"Plot revenue over months"
ScatterExplore relationships"Price vs quantity relationship"
PieShow proportions"Customer segment breakdown"
HistogramAnalyze distributions"Distribution of order values"
BoxCompare distributions"Price ranges by category"
HeatmapShow correlations"Correlation matrix of metrics"
AreaCumulative trends"Cumulative sales over time"

🛠️ Troubleshooting

"Server not found" in Claude Desktop

# Check configuration status
mcp-viz status

# Reconfigure if needed
mcp-viz configure --force

# Restart Claude Desktop completely

"Unknown tool" errors

# Test server functionality
mcp-viz test

# Check if all dependencies are installed
pip install --upgrade mcp-visualization-duckdb

Database issues

# Create a fresh database with sample data
mcp-viz create-db

# Check current configuration
mcp-viz status

🔧 Advanced Configuration

Custom Database Path

The installer will prompt you for a database location, or you can specify it:

# During configuration
mcp-viz configure
# Database path [/home/user/.mcp-visualization/data.duckdb]: /path/to/my/data.duckdb

Multiple Databases

You can easily switch between databases using Claude Desktop:

  • "Browse databases in Documents folder"
  • "Connect to /path/to/another/database.duckdb"
  • "What database am I currently connected to?"

💾 Sample Data

🎯 Built-in Sample Data

The package automatically creates sample data including:

  • Sales Data - 365 days of sales across regions and products
  • Customer Data - 1000 customer records with demographics
  • Product Data - 100 products with categories and pricing

🌟 Additional Sample Databases

Want more data to explore? Check out these high-quality sample databases:

TimeStored Sample DuckDB Databases

Available datasets include:

  • Financial Data - Stock prices, trading data, market analysis
  • NYC Taxi - Real NYC taxi trip records with geospatial data
  • TPC-H Benchmark - Standard database performance testing data
  • E-commerce - Product catalogs, orders, customer behavior
  • IoT Sensor Data - Time-series sensor readings and telemetry

Simply download any .duckdb file and load it:

# Download a sample database, then:
"Load database from Downloads/nyc-taxi.duckdb"
"What tables are available in this database?"
"Create a heatmap of taxi pickups by hour and day"

Perfect for testing, learning, and demonstrating data visualization capabilities!

🏗️ Development Setup

For developers who want to contribute:

# Clone repository
git clone https://github.com/your-github-username/mcp-visualization-duckdb.git
cd mcp-visualization-duckdb

# Install in development mode
pip install -e .

# Configure for development
mcp-viz configure

# Run tests
python test_package.py

See Development Guide for detailed instructions.

❓ Frequently Asked Questions

Q: Do I need to run mcp-viz databricks configure every time?

A: No! You only run it once during initial setup. After that:

  • ✅ Credentials are stored securely and auto-loaded
  • ✅ Just open Claude Desktop and start chatting
  • ✅ No repeated authentication needed

Q: How do I know if my Databricks is still connected?

A: Check anytime with:

mcp-viz databricks status    # Shows connection status
mcp-viz databricks test      # Tests connection and shows catalogs

Q: When do I need to reconfigure?

A: Only when:

  • Your access token expires
  • You change Databricks workspaces
  • You switch to a different SQL warehouse
  • Credentials get corrupted (rare)

Q: Are my credentials safe?

A: Yes! Credentials are:

  • 🔒 Encrypted on disk or stored in system keyring
  • 🚫 Never stored in plain text or command history
  • ⚡ Automatically loaded when needed

Q: Can I use both DuckDB and Databricks?

A: Yes! The server auto-detects which database type to use:

  • Configure Databricks: mcp-viz databricks configure
  • Configure DuckDB: mcp-viz configure
  • Server automatically uses the appropriate one

📦 Package Information

🤝 Contributing

We welcome contributions! The package is structured for easy development:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests: python test_package.py
  5. Submit a pull request

🙏 Acknowledgments


Ready to transform your data analysis with Claude Desktop?

pip install mcp-visualization-duckdb && mcp-viz configure

🎉 That's it! Start chatting with Claude about your data!

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for natural-language data visualization with DuckDB and Databricks from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-visualization-duckdb)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage