Skip to main content
Glama

mcp-for-band

mcp-for-band is an unofficial MCP server for BAND. Claude or any MCP client uses your signed-in Chrome on your computer to search your bands and post as you.

Unofficial, use at your own risk. BAND and NAVER do not endorse or support this project. The server calls BAND's undocumented web API through BAND's web page, which may break at any time. Automated use may violate BAND's terms of service, and BAND can restrict or close accounts for it. Read the terms first. Run it for your own account only, never as a service for others.

What it does

  • Local cache reads. The server syncs posts, comments, events, event comments, and members into SQLite and searches across bands with sync, search, list_posts, get_item, get_notices, find_member, and get_media.

  • Approved writes. Create posts, comments, replies, mentions, photos, videos, post edits, notices, and, when enabled, deletes. A prepare_* tool returns a preview, and the server sends nothing to BAND until you approve it, either in your client's prompt or by saying yes in chat. For bulk posts or comments, one yes approves the whole batch, up to 50. The server binds each approval to the text, target, and each file's SHA-256.

  • Optional plugins. Turn on band-specific tool sets in settings.json. The f3 plugin adds list_workouts, workout_stats, and who_qd to parse Q, PAX count, and attendees from backblasts with heuristics and leaves unknown counts unknown. One folder adds a plugin; see docs/plugins.md.

The server does not send chat messages, attach files on edits, or delete replies.

Related MCP server: ChromeBridge

Why this exists

BAND has an official Open API, but it covers very little:

Open API

mcp-for-band

Posts

Read, write text, delete

Read, write, edit, delete

Comments

Read, write, delete

Read, write, reply, delete

Events and their comments

No

Yes

Photos and videos in posts and comments

No (albums and photos are read-only)

Yes

Mentions

No

Yes

Notices

No

Read, add, remove

Members

No

Yes

Search across bands

No

Yes, from the local cache

The Open API also needs an app registered with BAND and approved. The author applied and never heard back. mcp-for-band works with what you can already do in BAND's web app, as you, with nothing to apply for.

How it works

The server starts its own Chrome, minimized, with its own profile and a DevTools port on 127.0.0.1. Sign in to BAND there once. Requests run through BAND's web client in the page, so BAND signs them as it would for you. The server queues requests one at a time, at least 300 milliseconds apart. Reads search a local cache that sync fills, and writes wait in a journal until you approve them.

docs/how-it-works.md explains the whole server: Chrome and sign-in, sync and the cache, approvals, transports and the data folder. docs/band-web-api.md lists the BAND endpoints it uses.

All data stays on your computer in the data folder: the browser profile, cache, write journal, and tokens. It lives at %LOCALAPPDATA%\band-mcp on Windows, ~/.local/share/band-mcp elsewhere, or BAND_MCP_DIR.

Setup

You need Google Chrome. mcp-for-band isn't on npm; get it from this repo.

Claude Desktop (easiest)

  1. Download mcp-for-band.mcpb from the latest release.

  2. Double-click it, or drag it into Claude Desktop's Settings > Extensions, and click Install.

It doesn't update itself. Download the new .mcpb when a release comes out.

Claude Code and other MCP clients

You need Node 24 or later.

git clone https://github.com/KtodaZ/mcp-for-band && cd mcp-for-band
npm ci
claude mcp add band -- node "$PWD/bin/band-mcp.mjs" stdio

For another client, have it run node /path/to/mcp-for-band/bin/band-mcp.mjs stdio. To update, run git pull && npm ci in the folder.

Then ask Claude "sign me in to BAND". A Chrome window opens on BAND's page. Sign in there, and the window minimizes again.

Using it

Ask things like "sync my bands for the last two weeks", "who Q'd in November?", or "draft a comment on Saturday's event with this photo". Claude shows you each draft, and nothing goes to BAND until you approve it.

From source

See CONTRIBUTING.md.

Optional HTTP mode

band-mcp serve runs HTTP on 127.0.0.1:47811 with bearer tokens in secrets.json in the data folder. Use readToken for reads or writeToken to allow writes. Set BAND_MCP_TAILSCALE=1 to listen on Tailscale addresses too. The server never listens on other networks.

Settings

Edit settings.json in the data folder:

{ "backgroundBands": [12345678], "syncIntervalMinutes": 0, "aliases": { "myregion": 12345678 }, "plugins": ["f3"], "allowDestructive": false }
  • backgroundBands lists your main bands. Plugin tools such as workout stats default to them.

  • syncIntervalMinutes turns on background sync: while serve runs, it re-syncs backgroundBands for the last 14 days every this many minutes (5 to 10080, a week). It's 0, off, by default, and changes apply without a restart. You rarely need it, since the model runs sync when a question needs fresh data, and it reads BAND on a schedule even when nobody is asking.

  • plugins lists optional tool sets to turn on; see docs/plugins.md. None are on by default.

  • aliases sets short names for bands. Lookups also match partial band names.

  • allowDestructive enables deletes when true, as does BAND_MCP_ALLOW_DESTRUCTIVE=1.

  • window is "minimized" (the default) or "visible" for the server's Chrome window. BAND_MCP_WINDOW overrides it.

Other environment variables set paths and defaults: BAND_MCP_CHROME sets Chrome's path, BAND_MCP_CDP_PORT defaults to 9333, BAND_MCP_PORT defaults to 47811, and BAND_MCP_TZ sets the workout time zone or uses this machine's.

Safety

  • Text from BAND is member content. The server instructs the model to treat it as data, not instructions, and only you can approve writes.

  • Write previews expire after 10 minutes. The server refuses an edit if the post changed after the preview.

  • Keep the data folder private because it holds your BAND session. On macOS and Linux, the server creates it with mode 700.

Development

See CONTRIBUTING.md. Coding agents also read AGENTS.md.

Don't like it? Fork it

Issues and pull requests are welcome, with no promises on response time or features. If you want it to work differently, fork it and make it yours.

License

This project uses the MIT license.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      Provides a direct bridge between Claude and an authenticated Chrome session, enabling fetch requests with session cookies and JavaScript execution within live web pages.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables controlling an existing logged-in Chrome session through MCP, including page reading, DOM interaction, tab management, and allowed file upload/download with local security boundaries.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables an MCP client such as Claude Code to read and operate your real, everyday Firefox profile — reading pages, clicking, typing, navigating, switching tabs and taking screenshots — with per-action human approval and masking of password, one-time-code and credit card fields.
      1
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables MCP-compatible AI assistants to drive the user's real, already-logged-in Chrome browser locally, so they can read and summarize pages, click, type, fill and submit forms, navigate tabs, and capture screenshots with full access to existing sessions. It also exposes cookies, storage, console, network capture, and emulation capabilities without opening a remote-debugging port or sending data off the machine.
      1 npm
      ISC