プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

NetLogo MCP

作者:Razee4315バージョン 1.0.2i★ –iパソコンで動く
レジストリ名io.github.Razee4315/netlogo-mcp

インストール

概要

作者による説明(英語の原文)

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

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他
  • 入力が必要なもの:NETLOGO_HOME, JAVA_HOME

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: NETLOGO_HOME, JAVA_HOME, NETLOGO_GUI

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "netlogo": {
      "command": "uvx",
      "args": [
        "netlogo-mcp"
      ],
      "env": {
        "NETLOGO_HOME": "your-value",
        "JAVA_HOME": "your-value",
        "NETLOGO_GUI": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add netlogo --env NETLOGO_HOME=your-value --env JAVA_HOME=your-value --env NETLOGO_GUI=your-value -- uvx netlogo-mcp

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "netlogo": {
      "command": "uvx",
      "args": [
        "netlogo-mcp"
      ],
      "env": {
        "NETLOGO_HOME": "your-value",
        "JAVA_HOME": "your-value",
        "NETLOGO_GUI": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "netlogo": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "netlogo-mcp"
      ],
      "env": {
        "NETLOGO_HOME": "your-value",
        "JAVA_HOME": "your-value",
        "NETLOGO_GUI": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • NETLOGO_HOME 必須 env
    Path to the NetLogo 7.0+ installation directory (e.g. C:/Program Files/NetLogo 7.0.3)
  • JAVA_HOME 必須 env
    Path to a Java JDK 11+ installation (not a JRE)
  • NETLOGO_GUI env
    Set to false for headless mode (no NetLogo window); default true

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント Razee4315 で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32709件のうち0%よりスターが多い
  • このカテゴリのほかの32709件のうち12%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32709件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

NetLogo MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:NETLOGO_HOME, JAVA_HOME

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.0.2)がレジストリに届いたのは5 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, SwarmMemo

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211一昨日更新
インストール

SwarmMemo

作者:Hugo0

Talk with agent swarms: rooms, private messages and paid tasks for AI agents

クラウドで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

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.

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.

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

RequirementInstall via terminal?How
Python 3.10+YesWindows: winget install Python.Python.3.12 · macOS: brew install python@3.12 · Linux: sudo apt install python3.12
Java JDK 11+YesWindows: winget install EclipseAdoptium.Temurin.21.JDK · macOS: brew install --cask temurin · Linux: sudo apt install openjdk-21-jdk
NetLogo 7.0+No — manualDownload from ccl.northwestern.edu/netlogo

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

Please set up the NetLogo MCP server for me end-to-end. Follow these steps carefully:
  1. Detect my environment
  • Identify my OS (Windows / macOS / Linux).
  • Check Python version (need 3.10+). If missing, tell me to install it first and stop.
  • Check for Java JDK 11+ (not JRE). Look in common locations (JAVA_HOME env var, standard install dirs). If missing, tell me to install Adoptium Temurin JDK 11+ and stop.
  • Check for NetLogo 7.0+. Look in common locations:
  • Windows: C:/Program Files/NetLogo*
  • macOS: /Applications/NetLogo*
  • Linux: /opt/netlogo*, ~/netlogo* If NetLogo isn't installed, tell me to download it from https://ccl.northwestern.edu/netlogo/download.shtml and stop.
  1. Install
  • Run: pip install netlogo-mcp
  • Verify the netlogo-mcp command is now available on my PATH.
  1. Identify my MCP client
  • Figure out which AI tool I'm using (Claude Code, Cursor, Windsurf, Cline, Continue, Roo Code, Zed, OpenCode, VS Code Copilot, Codex, or Claude Desktop).
  • If you're not sure, ask me.
  1. Configure the MCP client
  • Locate (or create) the correct config file for my client (see https://github.com/Razee4315/NetLogo-MCP/blob/main/docs/CLIENTS.md for exact paths and schemas per client).
  • Add a netlogo server entry with:
  • command: netlogo-mcp
  • env.NETLOGO_HOME: the NetLogo path you detected
  • env.JAVA_HOME: the JDK path you detected
  • Use the exact JSON schema for my specific client (e.g. "type": "stdio" for Cursor, "servers" key for VS Code).
  • Preserve any existing config entries — merge, don't overwrite.
  • IMPORTANT: configure it for THIS project only (project-scope config file), not globally, unless I say otherwise — a global entry loads the server in every session.
  1. Tell me what to do next
  • Tell me to fully restart my AI tool for the new MCP server to load.
  • Tell me the NetLogo window opens on the FIRST model tool call, and that call takes 30–60 seconds while the Java Virtual Machine starts. Tell me NOT to click stop during this wait.
  • Give me this exact test prompt to try after restart:

"Create a simple predator-prey model with wolves and sheep on a green landscape. Run setup, then run 100 ticks while tracking wolf and sheep counts. Export the view before and after so I can see how the world evolved."

  • Tell me where models and exports are saved (by default, the current working directory's models/ and exports/ folders) and that I can browse them with the list_models tool.

Do not skip any verification step. If something fails, stop and tell me exactly what failed and how to fix it.

Manual Installation

pip install netlogo-mcp

Then add the server to your MCP client. For Claude Code, add to your project's .mcp.json:

{

"mcpServers": { "netlogo": { "command": "netlogo-mcp", "args": [], "env": { "NETLOGO_HOME": "C:/Program Files/NetLogo 7.0.3", "JAVA_HOME": "C:/Program Files/Eclipse Adoptium/jdk-25.0.2.10-hotspot" } } } }

Restart Claude Code and verify with /mcp.

Tip: prefer project-scope config (.mcp.json in 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:

git clone https://github.com/Razee4315/NetLogo-MCP.git

cd NetLogo-MCP pip install -e ".[dev]"

Docker

The image bakes in NetLogo (headless) with its bundled JRE — no host install needed:

docker build -t netlogo-mcp .

docker run -i --rm netlogo-mcp

MCP client config:

{

"mcpServers": { "netlogo": { "command": "docker", "args": ["run", "-i", "--rm", "netlogo-mcp"] } } }

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:

> Create a simple NetLogo model with 50 turtles doing a random walk.

Run setup, simulate 100 ticks, and export the view.

Open the Wolf Sheep Predation model and run a parameter sweep

on initial-number-wolves from 10 to 100.

Build a disease spread model with sliders for population size and

infection chance.

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

ProblemSolution
NETLOGO_HOME is not setSet the environment variable to your NetLogo install directory
JAVA_HOME is not setSet it to your JDK directory (not JRE)
JVM crashes on startupMake sure JAVA_HOME points to JDK 11+, not an older version
No model is loadedCall open_model or create_model before using other tools
First model call hangs for 30-60sNormal — JVM is warming up. Don't click stop.
NetLogo window opens when my AI client startsYou have NETLOGO_EAGER_START=true set, or an old version — by default the window only opens on first tool use
Server won't connectRun netlogo-mcp manually in terminal to see error output

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: saqlainrazee@gmail.com GitHub: @Razee4315 LinkedIn: @saqlainrazee

License

This project is licensed under the MIT License — free to use, modify, and distribute for any purpose.

PopNxに聞く