Be the first to get access to new connectors. Get early access →
ConnectorBay Early access
Discover
Nim Play icon

Nim Play

A playable, stateless Nim engine with a provably optimal nim-sum AI opponent

Unify Dynamics LLC

Tools8read-only
Sign-inNoneno account, no key
Data keptNoneprocessed in memory
PriceFreeoptional Pro limits
StatusLiveMCP + REST
Works withMCP · RESTany agent

Try asking

Real questions, and the tools your agent calls to answer them.

Let's play a game of Nim
Tools called
new_game
Start a Nim game with piles 3, 5, and 7
Tools called
new_game
Remove 2 objects from pile 1
Tools called
make_move
What moves can I make right now?
Tools called
get_valid_moves
Make the AI's move
Tools called
ai_move
Am I winning this Nim position?
Tools called
analyze_position
Set up a Marienbad-style Nim game
Tools called
new_game
list_presets
How do you play misere Nim?
Tools called
rules_info

About

Nim Play is a fully local, playable Nim engine. new_game starts a game with explicit piles, a random spread, or a named preset ('marienbad' for the classic 1/3/5/7 start), in normal (last to move wins) or misere (last to move loses) play. make_move applies your move and reports in_progress/win/loss. get_valid_moves lists legal moves. render_board draws the position as ASCII. ai_move computes and applies the AI's move: on 'optimal' difficulty it uses Bouton's nim-sum theorem (and the corresponding misere endgame theorem) to play provably optimally, guaranteed to win any position that is a theoretical win; 'easy' plays randomly. analyze_position exposes the nim-sum and whether the position is a proven win or loss for whoever moves next. rules_info explains the rules and strategy; list_presets lists built-in starting positions. Stateless — no server-side game storage, the caller passes state between calls. Keyless; fully local; zero upstream calls; nothing stored.

Sources: Original implementation of classical Nim theory (Bouton's theorem, 1901) and the well-known misere-Nim endgame theorem; fully local, zero upstream calls.

Privacy

The publisher, Unify Dynamics LLC, states that tool inputs are processed in memory and not retained.

Data not collectedNo account, no profile, no stored prompts or results.

What it can do

8 tools, grouped by job. Every one is read-only or compute-only.

OpenAPI
Play5 tools
  • New gameStart a new Nim game and return its initial state.
  • Make moveApply the human player's move: remove `remove` objects from pile `pile`.
  • Ai moveCompute AND apply the AI's move.
  • Get valid movesList legal moves for the current position: per-pile remove ranges, plus a full enumerated move list when the position is small enough (<=80 total…
  • Render boardRender the current position as a human-readable ASCII board.
Understand the Strategy3 tools
  • Analyze positionReport the nim-sum of the current position and whether the player to move is in a mathematically proven winning or losing position against perfect…
  • Rules infoExplain how Nim is played and the optimal (nim-sum) strategy for the given variant.
  • List presetsList the built-in named starting positions and the available variants.

Information

PublisherUnify Dynamics LLC
CategoryGames & entertainment
LanguagesEnglish
Built forGlobal
CompatibilityAny MCP client · any agent · REST
Version0.1.0
MCP endpointhttps://nimplay.connectorbay.com/mcp
REST APIopenapi.json
SupportGet help · Status
CountryWorldwide

More like this

Ballchasing (BYOK)

Read Rocket League replays, replay details and stats, replay groups and map names from ballchasing.com with your own API token

Live · MCP + REST6 tools

Roblox Open Cloud (BYOK)

Read your Roblox experiences, places, groups, group roles and members, user restrictions and data store entries with your own Open Cloud API key (read-only)

Live · MCP + REST10 tools

itch.io (BYOK)

Read your itch.io profile, uploaded games with views, downloads and earnings, purchases, download keys, claimed rewards and collections with your own API key (read-only)

Live · MCP + REST10 tools

Lichess (BYOK)

Read your Lichess profile, ratings, rating history, performance statistics, teams and the daily puzzle with your own personal API token (read-only)

Live · MCP + REST8 tools

Twitch (BYOK)

Read public Twitch data (users, live streams, top games, channels, clips, videos, search) with BYOK and client id

Live · MCP + REST10 tools

Trakt (BYOK)

Look up movies and TV shows on Trakt: search, trending, popular, details, related titles, calendar and genres with BYOK

Live · MCP + REST11 tools

Documentation

Back to top

What Nim Play is for

A fully local, PLAYABLE Nim engine — not a rules reference, an actual game you can play move by move through your assistant. Covers classic multi-pile Nim, the historic Marienbad-style 1/3/5/7 preset, and misere play (last player to move loses instead of wins).

What it does

new_game starts a game with explicit piles, a random spread, or a named preset, in normal or misere play. make_move applies your move (remove some objects from one pile) and reports the result. get_valid_moves lists legal moves. render_board draws the current position as ASCII. ai_move computes and applies the AI opponent's move — on "optimal" difficulty it uses real nim-sum (XOR) theory, the mathematically proven optimal strategy for Nim, so it never loses a position it holds a theoretical win in. analyze_position shows the nim-sum and whether the position is a proven win or loss for whoever moves next — the same reasoning ai_move uses, made visible. rules_info explains the rules and strategy for a variant, and list_presets lists the built-in starting positions.

How state works

There is no server-side game storage. Every call takes the full game state (the exact object returned by the previous call) and returns a new one. Your assistant is responsible for holding onto state between calls in the conversation — nothing is remembered here.

What it is not

Not a rules encyclopedia — for that, browse this catalog's dedicated game-reference connectors. This one is the actual, playable game, with a real (not decorative) optimal-play algorithm behind its AI.

Privacy policy

Back to top

Nim Play — Privacy Policy

Effective 27 September 2026. Unify Dynamics LLC ("we", "us"), Menlo Park, California.

What Nim Play is. Nim Play is a connector (an MCP server and REST API) that AI assistants and personal agents call on your behalf to run a local Nim game — starting a game, applying moves, and computing an AI opponent's replies.

What we receive. The arguments of each tool call — the game state you (via your assistant) pass back on every call, the move you're making, and the technical headers needed to serve the request (an IP address or a client identifier supplied by the assistant, and a Pro API key if you have one) — plus standard server logs.

Everything is computed locally and nothing is stored. Nim Play has no database and no server-side game storage of any kind. The entire game state — piles, whose turn it is, move history — lives only in your conversation with your assistant, which passes it back to us on each call and receives an updated copy in the response. We do not persist it, log it, or use it for anything beyond computing that one response. No request is forwarded to any third party — there is no upstream call at all.

What we do not receive or store. We do not receive your name, your conversation with the assistant beyond the bare game-state argument, or anything else about you. Each request is answered independently. Rate-limit counters (a client identifier and timestamps) are held in memory for at most 24 hours. Hosting-provider access logs (IP addresses and request paths, not request bodies) are retained for up to 30 days for security and abuse prevention.

Sub-processors. None — computation is entirely local to this server. Hosting: Vercel (United States regions).

Legal bases and your rights. Our processing is necessary to provide the service you request through your assistant. Because we store no personal data beyond short-lived logs, requests to access, correct or delete personal data are usually satisfied automatically; you can still contact agent@connectorbay.com and we will respond within 30 days. We do not sell or share personal information and do not use your data to train models.

Children. Nim Play is a general-audience service operated by the adult using the assistant.

Changes. We will post changes here with a new effective date.

Terms of service

Back to top

Nim Play — Terms of Service

Effective 27 September 2026. These terms govern use of the Nim Play connector ("the Service") operated by Unify Dynamics LLC ("we", "us").

  1. The Service. Nim Play is a stateless, playable Nim game engine (classic multi-pile Nim, a Marienbad-style preset, and misere play) with an AI opponent, accessed through an AI assistant or directly over MCP or HTTP. There is no server-side game storage: the caller holds and passes game state between calls.
  2. Entertainment only. Nim Play is provided for entertainment and educational (game-theory) purposes. Nothing in it constitutes advice of any kind.
  3. Acceptable use. Automated use within the published rate limits is welcome. Do not use the Service to disrupt, overload, or reverse-engineer the underlying infrastructure.
  4. Availability. The Service is provided "as is" without warranty. We may change, limit, or discontinue it at any time.
  5. Data. Our Privacy Policy describes what we process. In short: game state is computed statelessly from what you send us and nothing is stored.
  6. Pro keys. Optional Pro API keys are issued at our discretion, are personal to the holder, and may be revoked for abuse.
  7. Liability. To the fullest extent permitted by law, Unify Dynamics LLC is not liable for any loss, injury, or damage arising from use of, or reliance on, the Service. Our total liability is limited to US $100.
  8. Governing law. California law; venue in San Mateo County, California.
  9. Contact. Unify Dynamics LLC · agent@connectorbay.com · https://connectorbay.com/nimplay

Nim Play support

Email agent@connectorbay.com. We answer within two business days.

When you report a problem, include the question you asked your agent, roughly when, and which agent you used (for example Claude, ChatGPT or Gemini). Never send us passwords, account numbers or ID numbers. Nim Play never asks for them.

Get Nim Play

Free · No sign-in · Read-only

Streamable HTTP, stateless, no authentication. Paste the endpoint into any MCP-capable agent.

https://nimplay.connectorbay.com/mcp
{
  "mcpServers": {
    "nimplay": {
      "type": "http",
      "url": "https://nimplay.connectorbay.com/mcp"
    }
  }
}