Configure HoloViz MCP for Claude Code¶
This guide shows you how to configure HoloViz MCP with Claude Code (the command-line interface).
Prerequisites¶
- Claude Code CLI installed (Installation guide)
- HoloViz MCP installed (Installation guide)
Add the MCP Server¶
Configure HoloViz MCP globally for your user:
This will update your ~/.claude.json file with the HoloViz MCP server configuration.
Verify the Configuration¶
Check that the server is configured:
You should see holoviz in the list of configured MCP servers.
In Claude Code, you can also run the /mcp command to verify the status:

Test Your Configuration¶
Test the configuration by asking Claude about Panel components:
- Simple Query:
- Detailed Query:
- Code Generation:
If Claude provides detailed, accurate responses with specific Panel component information, your configuration is working! 🎉
Install Claude Agents (Optional)¶
HoloViz MCP provides specialized agents for Claude Code that can help with planning and implementation:
User-level installation (default) (installs to ~/.claude/agents/):
Project-level installation (installs to .claude/agents/):
With skills (optional):
See the Getting Started guide for usage examples.
Advanced Configuration¶
Set Log Level¶
To enable debug logging, edit your ~/.claude.json file manually:
{
"mcpServers": {
"holoviz": {
"command": "holoviz-mcp",
"env": {
"HOLOVIZ_MCP_LOG_LEVEL": "DEBUG"
}
}
}
}
Custom Configuration Directory¶
Use a custom directory for configuration and data:
{
"mcpServers": {
"holoviz": {
"command": "holoviz-mcp",
"env": {
"HOLOVIZ_MCP_USER_DIR": "/path/to/custom/dir"
}
}
}
}
Troubleshooting¶
Server Not Found¶
Check that holoviz-mcp is installed:
Verify the MCP server is configured:
Claude Not Recognizing Components¶
- Verify documentation index exists:
- Recreate the index:
- Test the server directly:
Configuration File Issues¶
Check the configuration file:
Verify JSON syntax - ensure there are no trailing commas or syntax errors.
Permission Errors¶
Linux/macOS: Ensure the configuration file is readable:
Remove the Configuration¶
To remove the HoloViz MCP server from Claude Code:
Next Steps¶
- Getting Started Tutorial: Complete walkthrough for Claude Code
- Configuration Options: Customize HoloViz MCP behavior
- Troubleshooting Guide: Fix common issues