NetLogo-MCP
llms.txt27 starsChanged 6 months agoMITView on GitHub
NetLogo MCP is the first Model Context Protocol (MCP) server for NetLogo. It lets AI assistants (Claude, Cursor, VS Code Copilot, and any MCP client) create, run, and analyze agent-based models through natural conversation. Free and open source under the MIT license. Claude Code, Claude Desktop, Cursor, Windsurf, VS Code (Copilot), Cline, Continue, Roo Code, Zed, OpenCode, Codex — any tool that supports MCP.
- Installs packages
The file
We split this llms.txt into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Create NetLogo models from a chat description, with real interface widgets (sliders, switches, buttons, monitors)
- Distinctive: line 19
Run simulations and get tick-by-tick data back as markdown tables
- Distinctive: line 20
Run BehaviorSpace parameter sweeps via NetLogo's headless launcher
- Distinctive: line 23
Search and safely run peer-reviewed models from the CoMSES Net library
- Very specific: line 33
Add a netlogo server entry to your MCP client config with command: netlogo-mcp and env.NETLOGO_HOME / env.JAVA_HOME set to your installs.
- Distinctive: line 34
Ask your AI assistant to build and run a model, e.g.
≈ “Common” is an estimate: at least 1 in 5 of the 1,484 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# NetLogo MCP > NetLogo MCP is the first Model Context Protocol (MCP) server for NetLogo. It lets AI assistants (Claude, Cursor, VS Code Copilot, and any MCP client) create, run, and analyze agent-based models through natural conversation. Free and open source under the MIT license. ## Key facts - What it is: an MCP server that connects AI assistants to NetLogo - First of its kind: the first MCP server built for NetLogo - Install: `pip install netlogo-mcp` (Python 3.10+) - Requirements: NetLogo 7.0+ and a Java JDK 11+ (or use the Docker image, which bundles headless NetLogo) - Tools: 25 total — 17 NetLogo control, 5 CoMSES library, 3 BehaviorSpace - License: MIT (free and open source) - Platforms: Windows, macOS, Linux - Author: Saqlain Abbas (https://github.com/Razee4315) ## What you can do with it - Create NetLogo models from a chat description, with real interface widgets (sliders, switches, buttons, monitors) - Run simulations and get tick-by-tick data back as markdown tables - Run BehaviorSpace parameter sweeps via NetLogo's headless launcher - Export the NetLogo view as a PNG that appears inline in chat - Inspect world state, agent samples, and patch grids - Search and safely run peer-reviewed models from the CoMSES Net library - Watch simulations run in a real NetLogo window, or run fully headless ## Works with these AI clients Claude Code, Claude Desktop, Cursor, Windsurf, VS Code (Copilot), Cline, Continue, Roo Code, Zed, OpenCode, Codex — any tool that supports MCP. ## How to get started 1. Install: `pip install netlogo-mcp` 2. Add a `netlogo` server entry to your MCP client config with `command: netlogo-mcp` and `env.NETLOGO_HOME` / `env.JAVA_HOME` set to your installs. 3. Ask your AI assistant to build and run a model, e.g. "Create a predator-prey model with 100 sheep and 20 wolves, run it for 500 ticks, and show me the population dynamics." ## Links - Website: https://razee4315.github.io/NetLogo-MCP/ - Source code: https://github.com/Razee4315/NetLogo-MCP - Install (PyPI): https://pypi.org/project/netlogo-mcp/ - Docs: https://github.com/Razee4315/NetLogo-MCP/tree/main/docs - Author: Saqlain Abbas (https://github.com/Razee4315)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

