@@ -5,9 +5,8 @@ This tutorial will guide you through installing and using HoloViz MCP with Claud
55!!! tip "What you'll learn"
66 - How to install HoloViz MCP
77 - How to configure it with Claude Code
8- - How to use it to get help building Panel applications
98 - How to verify everything is working correctly
10- - How to build your first Panel dashboard
9+ - How to create your first visualizations
1110
1211!!! note "Prerequisites"
1312 Before you begin, ensure you have:
@@ -66,28 +65,40 @@ This will update your `~/.claude.json` file with the HoloViz MCP server configur
6665
6766HoloViz MCP includes specialized agents for Claude Code that help with planning and implementing HoloViz applications.
6867
69- Navigate to your project directory and run :
68+ Install the agents for your user :
7069
7170``` bash
72- holoviz-mcp install claude
71+ holoviz-mcp install claude --scope user
7372```
7473
75- This creates a ` .claude/agents/ ` directory with:
74+ This creates a ` ~/ .claude/agents/` directory with:
7675
7776- ` holoviz-data-explorer.md ` - Agent for quick data exploration and data visualization
7877- ` holoviz-app-architect.md ` - Agent for architecting production Panel data applications
7978
80- !!! tip "Install User -Level Agents"
79+ !!! tip "Install Project -Level Agents"
8180
82- To make agents available across all your projects :
81+ To make agents available in your current project only :
8382
8483 ```bash
85- holoviz-mcp install claude --scope user
84+ holoviz-mcp install claude --scope project
8685 ```
8786
88- This installs agents to `~/ .claude/agents/`.
87+ This installs agents to `.claude/agents/`.
8988
90- ## Step 6: Verify Installation
89+ ## Step 6: Install Panel and Dependencies (Optional)
90+
91+ For Claude Code to create and run visualizations in your terminal, it needs access to Panel, hvPlot, and related libraries.
92+
93+ Here's how to install them in a project-specific environment:
94+
95+ ``` bash
96+ uv venv
97+ source .venv/bin/activate # On Linux/macOS (use `.venv\Scripts\activate` on Windows)
98+ uv pip install panel watchfiles hvplot # Add your own favorite libraries
99+ ```
100+
101+ ## Step 7: Verify Installation
91102
92103Let's verify that HoloViz MCP is working correctly!
93104
@@ -127,7 +138,7 @@ What parameters does the Panel Button component accept?
127138
128139If Claude provides detailed, accurate answers with specific Panel component information, congratulations! HoloViz MCP is working correctly! 🎉
129140
130- ## Step 7 : Build Your First Dashboard
141+ ## Step 8 : Build Your First Dashboard
131142
132143Now that everything is set up, let's build a simple dashboard.
133144
@@ -145,15 +156,11 @@ Save the code to `app.py` and run it:
145156run it
146157```
147158
148- !!! tip "Panel is not installed"
149- If the command errors with "Panel is not installed" you will have to create a virtual
150- environment and install panel
151-
152159Your dashboard will open in your default web browser!
153160
154161![ Dashboard] ( ../assets/images/getting-started-dashboard.png )
155162
156- ## Step 8 : Displaying Data Visualizations
163+ ## Step 9 : Displaying Data Visualizations
157164
158165HoloViz MCP includes a powerful display tool that can render visualizations directly. Ask Claude:
159166
0 commit comments