PyVista MCP Server is an MCP server that provides 3D visualization and geometric data analysis tools by interfacing with the PyVista library and the Visualization Toolkit (VTK). Built for data scientists, engineers, and developers working with spatial datasets, it enables language model clients to generate, inspect, and export multi-dimensional visual models directly through standard tool calls. By connecting conversational AI interfaces to PyVista rendering capabilities, users can prompt their assistant to generate complex geometric scenes, such as 3D grids composed of primitives like cylinders, arrows, and spheres. The server processes rendering tasks in Python and exports the visual outputs as standalone, interactive HTML files directly to the local filesystem. This workflow allows users to inspect scientific visualizations, test spatial meshes, and evaluate visual geometry in any web browser without having to write boilerplate rendering scripts manually.
Category: Data & Analytics
Tags: 3d-visualization, data analysis, pyvista, scientific-computing, vtk
To configure the PyVista MCP Server in your MCP client, add it to your client's settings configuration file. 1. Ensure you have Python installed with the necessary PyVista dependencies and clone the server script from https://github.com/pyvista/pyvista-mcp-server. 2. Open your client configuration file (such as your Claude Desktop settings) and add the server definition under mcpServers: json { "mcpServers": { "mcp-demo-server": { "disabled": false, "timeout": 600, "command": "<path-to-python-executable>", "args": ["<path-to-server-script>"], "transportType": "stdio" } } } 3. Replace <path-to-python-executable> and <path-to-server-script> with your local paths, save the configuration, and restart your MCP client.
Part of MCP Servers
PyVista MCP Server allows AI clients to run 3D visualization routines using the PyVista Python library. It includes tools like hello_world, which programmatically generates a 3x3 grid of various 3D shapes and exports the output into an interactive HTML visualization for browser viewing.
You configure the server by adding an entry to your MCP client configuration file under the mcpServers property. Set the transportType to stdio, define an execution timeout, and specify the local path to your Python executable and the server script in the command and args fields.
When executing generation tools such as hello_world, the server exports the interactive 3D scene as an HTML file named a_basic.html directly in the current working directory, which you can open in any modern web browser.
Yes, PyVista MCP Server is an open-source project hosted on GitHub and developed under the PyVista organization.