Skip to content
MCP server

NetLogo MCP

Create, run, and analyze NetLogo agent-based models through natural conversation

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.2
Listing updated
5 days ago

About NetLogo MCP

NetLogo MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add netlogo-mcp --env NETLOGO_HOME='<NETLOGO_HOME>' --env JAVA_HOME='<JAVA_HOME>' -- uvx netlogo-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "netlogo-mcp": {
      "command": "uvx",
      "args": [
        "netlogo-mcp"
      ],
      "env": {
        "NETLOGO_HOME": "<NETLOGO_HOME>",
        "JAVA_HOME": "<JAVA_HOME>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "netlogo-mcp": {
      "command": "uvx",
      "args": [
        "netlogo-mcp"
      ],
      "env": {
        "NETLOGO_HOME": "<NETLOGO_HOME>",
        "JAVA_HOME": "<JAVA_HOME>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "netlogo-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "netlogo-mcp"
      ],
      "env": {
        "NETLOGO_HOME": "<NETLOGO_HOME>",
        "JAVA_HOME": "<JAVA_HOME>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "netlogo-mcp": {
      "command": "uvx",
      "args": [
        "netlogo-mcp"
      ],
      "env": {
        "NETLOGO_HOME": "<NETLOGO_HOME>",
        "JAVA_HOME": "<JAVA_HOME>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "netlogo-mcp": {
      "command": "uvx",
      "args": [
        "netlogo-mcp"
      ],
      "env": {
        "NETLOGO_HOME": "<NETLOGO_HOME>",
        "JAVA_HOME": "<JAVA_HOME>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • NETLOGO_HOMEPath to the NetLogo 7.0+ installation directory (e.g. C:/Program Files/NetLogo 7.0.3)Required
  • JAVA_HOMEPath to a Java JDK 11+ installation (not a JRE)Required
  • NETLOGO_GUISet to false for headless mode (no NetLogo window); default true

Pricing

Open source

NetLogo MCP FAQ

Is NetLogo MCP free?

Yes. NetLogo MCP is open source, so you can use and self-host it for free.

How do I add NetLogo MCP to Claude Code?

Run this command in your terminal: claude mcp add netlogo-mcp --env NETLOGO_HOME='<NETLOGO_HOME>' --env JAVA_HOME='<JAVA_HOME>' -- uvx netlogo-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers