PyVista MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/pyvista/pyvista-mcp-server
cd pyvista-mcp-server

Then follow the repository README for any remaining dependency or build steps before continuing.

2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add pyvista -- node "<FULL_PATH_TO_PYVISTA_MCP_SERVER>/dist/index.js"

Replace <FULL_PATH_TO_PYVISTA_MCP_SERVER>/dist/index.js with the actual folder you prepared in step 1.

README.md

Enables 3D visualization capabilities through PyVista integration.

PyVista MCP Server

This repository contains a PyVista-based MCP (Model Context Protocol) server. It demonstrates the integration of PyVista for 3D visualization with MCP tools.

Features

  • hello_world Tool: A tool that generates and exports a 3x3 grid of 3D shapes (Cylinder, Arrow, Sphere, etc.) as an interactive HTML file.

Output

The hello_world tool exports an HTML file named a_basic.html in the current working directory. Open this file in a web browser to view the interactive 3D visualization.

Configuration

To configure the MCP server, use the following JSON structure in your settings:

{
  "mcpServers": {
    "mcp-demo-server": {
      "disabled": false,
      "timeout": 600,
      "command": "",
      "args": [""],
      "transportType": "stdio"
    }
  }
}

This configuration specifies the command and arguments to run the MCP server, along with other settings like timeout and transport type.

Example Usage

https://github.com/user-attachments/assets/244d7f7d-1432-4d11-8b12-b0138e97746a

Tools (1)

hello_worldGenerates and exports a 3x3 grid of 3D shapes like cylinders, arrows, and spheres as an interactive HTML file.

Configuration

claude_desktop_config.json
{"mcpServers": {"mcp-demo-server": {"disabled": false, "timeout": 600, "command": "<path-to-python-executable>", "args": ["<path-to-server-script>"], "transportType": "stdio"}}}

Try it

Generate a 3D visualization grid using the hello_world tool.
Create an interactive 3D shape grid and save it as an HTML file.
Run the PyVista hello_world tool to visualize geometric objects.

Frequently Asked Questions

What are the key features of PyVista?

Generates 3D shape grids including cylinders, arrows, and spheres.. Exports interactive 3D visualizations as HTML files.. Integrates PyVista visualization capabilities directly into MCP..

What can I use PyVista for?

Quickly prototyping 3D geometric arrangements for data visualization.. Creating interactive 3D model previews for web-based reports.. Testing PyVista rendering outputs within an AI-assisted development workflow..

How do I install PyVista?

Install PyVista by running: python <path-to-server-script>

What MCP clients work with PyVista?

PyVista works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep PyVista docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare