Pymol MCP Server

PyMOL-MCP connects PyMOL to Claude AI through the Model Context Protocol (MCP), enabling Claude to directly interact with and control PyMOL. This

Local serverstdioPython

What is the Pymol MCP MCP server?

PyMOL-MCP connects PyMOL to Claude AI through the Model Context Protocol (MCP), enabling Claude to directly interact with and control PyMOL. This powerful integration allows for conversational structural biology, molecular visualization. Exposed over MCP by the pymol mcp mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

  • Two-way communication — Connect Claude AI to PyMOL through a socket-based server
  • Intelligent command parsing — Natural language processing for PyMOL commands
  • Molecular visualization control — Manipulate representations, colors, and views
  • Structural analysis — Perform measurements, alignments, and other analyses
  • Code execution — Run arbitrary Python code in PyMOL from Claude

Adding it to your client

Installation goes through your MCP client rather than a global install: point it at mcp on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Its toolset

Everything the assistant can do here goes through one of these:

  • Prerequisites — The Prerequisites tool exposed by this server

Configuration

  • PyMOL installed on your system - Claude for Desktop - Python 3.10 or newer - Git

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the pymol mcp mcp server does with a few real requests.

When to reach for it

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Pymol MCP's toolset — Prerequisites — is a fair guide to whether it matches your workflow. It is maintained by vrtejus; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Pymol MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.

How to install the Pymol MCP MCP server

For example:

```json
{
  "mcpServers": {
    "pymol": {
      "command": "/Users/username/pymol-mcp/venv/bin/python",
      "args": ["/Users/username/pymol-mcp/pymol_mcp_server.py"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • PyMOL installed on your system - Claude for Desktop - Python 3.10 or newer - Git

Example prompts to try

  • Use Pymol MCP to Prerequisites.

Frequently asked questions

It connects Pymol MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Prerequisites) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Pymol MCP directly.