Skip to main content

A Model Context Protocol (MCP) server for the HoloViz ecosystem

Project description

✨ HoloViz MCP

CI Docker conda-forge pypi-version python-version docs

A comprehensive Model Context Protocol (MCP) server that provides intelligent access to the HoloViz ecosystem, enabling AI assistants to help you build interactive dashboards and data visualizations with Panel, hvPlot, Lumen, Datashader and your favorite Python libraries.

HoloViz Logo

📖 Full Documentation | 🚀 Quick Start | 🐳 Docker Guide

✨ What This Provides

Documentation Access: Search through comprehensive HoloViz documentation, including tutorials, reference guides, how-to guides, and API references.

Component Intelligence: Discover and understand 100+ Panel components with detailed parameter information, usage examples, and best practices. Similar features are available for hvPlot.

Extension Support: Automatic detection and information about Panel extensions such as Material UI, Graphic Walker, and other community packages.

Smart Context: Get contextual code assistance that understands your development environment and available packages.

🎯 Why Use This?

  • ⚡ Faster Development: No more hunting through docs - get instant, accurate component information.
  • 🎨 Better Design: AI suggests appropriate components and layout patterns for your use case.
  • 🧠 Smart Context: The assistant understands your environment and available Panel extensions.
  • 📖 Always Updated: Documentation stays current with the latest HoloViz ecosystem changes.
  • 🔧 Zero Setup: Works immediately with any MCP-compatible AI assistant.

🚀 Quick Start

Requirements

  • Python 3.11+ and uv
  • VS Code with GitHub Copilot, Claude Desktop, Cursor, or any other MCP-compatible client

Installation

Install HoloViz MCP as a uv tool:

uv tool install holoviz-mcp[panel-extensions]

Create the documentation index (takes up to 10 minutes on first run):

uvx --from holoviz-mcp holoviz-mcp-update

Configure Your IDE

VS Code + GitHub Copilot: Add this configuration to your mcp.json:

{
  "servers": {
    "holoviz": {
      "type": "stdio",
      "command": "uvx",
      "args": ["holoviz-mcp"]
    }
  },
  "inputs": []
}

Claude Desktop: Add to your configuration file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "holoviz": {
      "command": "uvx",
      "args": ["holoviz-mcp"]
    }
  }
}

Cursor: Go to Cursor SettingsFeaturesModel Context ProtocolAdd Server:

{
  "name": "holoviz",
  "command": "uvx",
  "args": ["holoviz-mcp"]
}

Restart your IDE and start asking about Panel components!

Using Docker

For containerized deployment:

# Pull the latest image
docker pull ghcr.io/marcskovmadsen/holoviz-mcp:latest

# Run with HTTP transport
docker run -it --rm \
  -p 8000:8000 \
  -e HOLOVIZ_MCP_TRANSPORT=http \
  -v ~/.holoviz-mcp:/root/.holoviz-mcp \
  ghcr.io/marcskovmadsen/holoviz-mcp:latest

See the Docker Guide for more details.

💡 Example Usage

Ask your AI assistant questions like:

  • "What Panel components are available for user input?"
  • "Show me how to create a dashboard with Panel Material UI components"
  • "What parameters does the Button component accept?"
  • "How do I deploy a Panel application?"

Watch the HoloViz MCP Introduction on YouTube to see it in action.

HoloViz MCP Introduction

📚 Learn More

Check out the holoviz-mcp documentation:

❤️ Contributing

We welcome contributions! See our Contributing Guide for details.

📄 License

HoloViz MCP is licensed under the BSD 3-Clause License.

🔗 Links


Note: This MCP server can execute arbitrary Python code when serving Panel applications (configurable, enabled by default). See Security Considerations for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

holoviz_mcp-0.2.0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

holoviz_mcp-0.2.0-py3-none-any.whl (74.1 kB view details)

Uploaded Python 3

File details

Details for the file holoviz_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: holoviz_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for holoviz_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e1b8373da41149f012507c436b5e812ab886386ecaaeeaf86f078e48d72fe53c
MD5 9173d44939d7b35c5004e5631cced182
BLAKE2b-256 14cc6f7d5104c1c8e3afda4a893ba6fc5d5b1c0228a42b44cc9c708a9dbfadf9

See more details on using hashes here.

Provenance

The following attestation bundles were made for holoviz_mcp-0.2.0.tar.gz:

Publisher: build.yml on MarcSkovMadsen/holoviz-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file holoviz_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: holoviz_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 74.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for holoviz_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e87934d14461e3db58a481bec4b0299cebf7094cf270577c52b12cdfe91458fa
MD5 66ad2c6191897d17dddbc87001897302
BLAKE2b-256 855039b5593def8417503a6d812492a7a5cc273d6229f68c5e91fdc355b7eb7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for holoviz_mcp-0.2.0-py3-none-any.whl:

Publisher: build.yml on MarcSkovMadsen/holoviz-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page