
NetLogo MCP
io.github.Razee4315Published by GitHub account Razee4315v1.0.2Updated Oct 27, 2026
Create, run, and analyze NetLogo agent-based models through natural conversation
The publisher's own server: Official Logo.dev MCP
Overview
Lets an AI assistant create, run, inspect and export NetLogo agent-based models, including BehaviorSpace parameter sweeps, from plain-language requests.
- What you can do
- Create and open models, including interface widgets such as sliders, switches, buttons and monitors
- Run simulations and collect tick-by-tick data as markdown tables
- Run BehaviorSpace experiments and parallel parameter sweeps via the headless launcher
- Export the model view as PNG and inspect world state, agent samples and patch grids
- Search and run models from the CoMSES Net library, and read built-in NetLogo reference resources
- When to use it
- Useful for agent-based modeling work in NetLogo, such as teaching, coursework or research, where you would rather describe a model and its experiments in conversation than write NetLogo code and click through the interface by hand.
- Requirements
- Runs locally as a Python package (Python 3.10+) on desktop only. Needs a Java JDK 11+ set via JAVA_HOME and a NetLogo 7.0+ installation set via NETLOGO_HOME; NetLogo must be downloaded manually. NETLOGO_GUI can be set to false for headless use. A Docker image with bundled NetLogo is also offered.
Installation
In SourceWeft
- Open NetLogo MCP in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
[NetLogo MCP — Talk to NetLogo. AI runs the simulation.]
[PyPI] [CI] [Python 3.10+] [Ruff] [mypy] [MIT License]
The first MCP (Model Context Protocol) server for NetLogo — enabling AI assistants to create, run, and analyze agent-based models through natural conversation.
Works with: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code (Copilot), Cline, Continue, Roo Code, Zed, OpenCode, Codex — any tool that supports MCP.
[NetLogo MCP demo — AI creating and running a simulation through conversation]
Why NetLogo MCP?
As an AI student taking an Agent-Based Modeling course, I searched for an MCP server to control NetLogo — nothing existed. So I built one.
Instead of manually writing NetLogo code, clicking buttons, and tweaking sliders, you tell your AI assistant what you want in plain English:
"Create a predator-prey model with 100 sheep and 20 wolves. Run it for 500 ticks and show me the population dynamics."
The AI writes the code, runs the simulation, and shows you the results — all through conversation.
[You → AI Assistant → NetLogo MCP Server → NetLogo (GUI or headless JVM)]
By default a real NetLogo window opens (on first use) so you can watch your simulations run live. Headless mode is available for CI or servers.
Features
- Create models from code — with real interface widgets: sliders, switches, buttons, monitors
- Run simulations and collect tick-by-tick data as markdown tables
- Run BehaviorSpace experiments — parallel parameter sweeps via the headless launcher
- Export the view as PNG — visible inline in chat
- Inspect everything — world state, agent samples, patch grids for heatmaps
- CoMSES Net integration — search and safely run models from the largest peer-reviewed ABM library
- Built-in references — NetLogo primitives, programming guide, and 6→7 transition guide as MCP resources
- Lazy startup — the NetLogo window only opens when you actually use a tool, not when your AI client connects
See docs/TOOLS.md for the full reference of all 25 tools, widget schema, and prompts.
Prerequisites
Only NetLogo requires manual download. Everything else can be installed via terminal, and the Zero-Config Setup prompt below handles those automatically.
Zero-Config Setup (Recommended)
If you're using an AI coding tool, copy the prompt below into your chat. The AI will detect your OS, find your NetLogo and Java installations, clone the repo, install dependencies, configure your MCP client, and tell you how to use it.
Click to copy the setup prompt
Manual Installation
Then add the server to your MCP client. For Claude Code, add to your project's .mcp.json:
Restart Claude Code and verify with /mcp.
Tip: prefer project-scope config (
.mcp.jsonin one project) over global config — a global entry loads the server in every session of every project.
Using Cursor, Windsurf, VS Code, Cline, Continue, Roo Code, Zed, OpenCode, Codex, or Claude Desktop? See docs/CLIENTS.md for exact config for all 11 clients. All configuration options (GUI/headless mode, directories, limits) are in docs/CONFIGURATION.md.
Developing or contributing? Clone the repo and install editable instead:
Docker
The image bakes in NetLogo (headless) with its bundled JRE — no host install needed:
MCP client config:
Docker runs headless only (no GUI mode). Add -v ./exports:/data/exports to keep exported views and worlds on the host.
Quick Start
Once connected, try these prompts in any MCP client:
The first model tool call takes 30-60 seconds while the JVM starts — the NetLogo window appears when it's ready. Don't click stop. Every call after that is instant.
Troubleshooting
Documentation
- docs/TOOLS.md — Full tool reference, widget schema, BehaviorSpace & CoMSES guides
- docs/CONFIGURATION.md — All environment variables, GUI vs headless, startup timing
- docs/SECURITY.md — Security model and trust boundary
- docs/CLIENTS.md — Setup for all 11 MCP clients
- docs/DEVELOPMENT.md — Project structure, running tests, architecture notes
- CONTRIBUTING.md — How to contribute
- CHANGELOG.md — Version history
Listed on
Citing
If you use NetLogo MCP in research or teaching, please cite it — click "Cite this repository" in the GitHub sidebar, or see CITATION.cff.
Author
Saqlain Abbas Email: [email protected] GitHub: @Razee4315 LinkedIn: @saqlainrazee
License
This project is licensed under the MIT License — free to use, modify, and distribute for any purpose.
Source: README.md at commit 14d9464
Tools
0Version history
1- v1.0.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Logo integrations
Official Logo.dev MCP
dev.logoOfficial publisher
Lets an assistant find brands, logos and brandmarks, and manage Logo.dev brand subscriptions and webhooks.

LogoLab
Published by GitHub account Blaxzter
LogoLab traces raster images into clean editable SVGs and exports complete app-icon sets locally, driven from a coding agent.

Logo.dev MCP
Published by GitHub account pvliesdonk
Local MCP server that lets an assistant fetch company logos and look up brand data through the logo.dev API.
3DLogo.io
Published by GitHub account cottom
3DLogo.io lets an assistant build and manage 3D logo, coin and model projects in a browser studio, returning styled editor links, previews and share links.

LogoScout
Published by GitHub account Evozim
LogoScout is a remote MCP server for brand trademark scanning and intellectual property auditing, with premium features settled via a payment signature.