MCP server that connects Claude Code to a live PyMOL session over XML-RPC
An MCP server that lets Claude Code drive a live PyMOL session — fetch structures, build selections, adjust representations and coloring, measure distances — by talking to PyMOL's built-in XML-RPC server.
PyMOL ships with an XML-RPC server (enabled via pymol -R) that exposes its command API on localhost:9123. pymolserver.py wraps that in three MCP tools so Claude can call them like any other tool:
Tool Purpose ------ pymolcommand Run one PyMOL command, exactly as you'd type it at the PyMOL prompt pymolscript Run a block of Python inside PyMOL's embedded interpreter (loops, cmd. calls, etc.) pymolquery Call any PyMOL XML-RPC method directly and get the return value back (for read-only lookups like atom counts or chain lists)
Claude decides which tool fits the request and supplies the PyMOL command or code itself — this server is just the transport layer.
- PyMOL (with XML-RPC support — the open-source build includes it) - Claude Code: npm install -g @anthropic-ai/claude-code - Python 3.10+
1. Clone this repo and install dependencies
2. Make PyMOL start its RPC server automatically (optional but recommended)
By default you'd need to launch PyMOL from a terminal with pymol -R every time. Instead, symlink autostart/pymolrc.py to ~/.pymolrc.py — a script PyMOL runs on every launch — so RPC starts silently whether you open PyMOL from the command line, Spotlight, or the Dock:
From now on, just open PyMOL normally. It listens for the MCP server on port 9123 (override with PYMOLRPCPORT).
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/stavasol96-arch--Pymol-Claude-MCP.html)
Daily radar for new AI terms: names of new models, products and repos, caught on X, Hugging Face, GitHub and sitemaps before keyword tools list them.
gary23w/f-ck_data_brokersfck_data_brokers.py is a free, open-source Python script that sends opt-out and deletion requests to data brokers on your behalf.
LiCinCan/blender-ai-mcp-addonAI assistant and MCP server for Blender: visual chat, scene tools, multi-agent workflows. Works with OpenAI, ChatGPT, Claude, Gemini, Ollama, OpenCode. Blender AI addon and plugin, copilot for 3D, bpy
2akouwu/reverifyStop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is
cranebeaker/coop-anythingCo-op Anything: point your AI agent at any single-player game and play it with friends (online and/or splitscreen!). MCP server and playbook to let you reverse engineer, fix, test, ship and share what
anujasid/blender-ai-mcp-addonAI assistant and MCP server for Blender: visual chat, scene tools, multi-agent workflows. Works with OpenAI, ChatGPT, Claude, Gemini, Ollama, OpenCode. Blender AI addon and plugin, copilot for 3D, bpy
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.