# NetLogo MCP

> NetLogo MCP is an open-source MCP server. Create, run, and analyze NetLogo agent-based models through natural conversation. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/razee4315/netlogo-mcp
- **MCP Registry name:** io.github.Razee4315/netlogo-mcp
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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.

---
Source: https://ai-powered.com/mcp/netlogo-mcp
