Skip to content
MCP server
Registry

geogebra-mcp MCP Server

Draw and edit geometry live on GeoGebra Calculator. Unofficial, not affiliated with GeoGebra.

geogebra-mcp scores 62 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 11 tools. Filed under Browser automation. GitHub shows 1 stars. Package registries report about 78 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by haison8xMITTypeScript1 stars
Trust score
62Good
Trust score 62 of 100, Good

Good trust

62 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 62 comes from

22 + 15 + 1 + 10 + 4 + 10 = 62. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance15 / 20

How recently the repository saw a commit or release.

Maintenance: 15 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "haison8x-geogebra-mcp": {      "command": "npx",      "args": [        "-y",        "geogebra-mcp@0.1.2"      ],      "env": {        "GGB_BROWSER": "",        "GGB_HEADLESS": "0",        "GGB_PROFILE_DIR": "",        "GGB_URL": "https://www.geogebra.org/calculator"      }    }  }}

Environment variables

NameRequiredNotes
GGB_BROWSEROptionalBrowser channel: chrome or msedge (default: try chrome, msedge, then Playwright Chromium)
GGB_HEADLESSOptionalSet to 1 to run without a visible window
GGB_PROFILE_DIROptionalBrowser profile directory (default: ~/.geogebra-mcp/profile)
GGB_URLOptionalPage to open

Tools11Tool docs quality grade D

All capabilities
  • Start a new figure.

  • Delete objects (and their dependents).

  • Evaluate expressions without adding objects (Angle(B, A, C), AreCollinear(A, H, O)…).

  • Save as .ggb or .png.

  • Fit every visible point and circle in view (1:1 ratio), toggle axes/grid.

  • Objects with type, definition, value, coordinates, visibility, dependsOn / usedBy.

  • Run commands in order; per-command result, created/removed objects, warnings, failure hints. Assigning to an existing name redefines it.

  • PNG of the drawing area (or the whole window) for visual checking.

  • Color, visibility, label, caption, thickness, line style, point size, fill, fixed.

  • Save / restore / list named versions.

  • Revert changes made through the server.

About

geogebra-mcp

An MCP server that lets an AI (Claude Desktop, Claude Code, Cursor, …) draw and edit plane-geometry figures directly on GeoGebra® Calculator (https://www.geogebra.org/calculator).

Unlike the copy/paste workflow of the GeoGebra AutoDraw AI extension, the AI here works in a loop: it runs commands, reads errors and the figure state, verifies properties, looks at a screenshot, and fixes the figure itself — and it can edit the figure on request ("H must be the foot from A").

Demo: the AI builds triangle ABC inscribed in (O) with altitude AH and median AM, then A is dragged and the figure follows

Made with GeoGebra® — https://www.geogebra.org

Unofficial project, not affiliated with or endorsed by GeoGebra GmbH. See License & GeoGebra.

How it works

AI client ──MCP (stdio)──► geogebra-mcp ──Playwright──► Chrome window: geogebra.org/calculator
                                                            └─ window.ggbApplet (GeoGebra JS API)
  • On the first tool call the server opens a Chrome (or Edge) window on GeoGebra Calculator. The user watches the figure being drawn and can drag/edit it by hand.
  • Tools call the GeoGebra JS API (ggbApplet) inside the page through page.evaluate — no simulated clicks.
  • Commands run through asyncEvalCommandGetLabels, which lazy-loads GeoGebra modules, so prover/scripting commands (AreCollinear, Incircle, TriangleCenter, ClosestPoint(line, point)…) work.
  • GeoGebra reports a failed command only as null, so the server adds its own diagnostics (unknown names, unknown commands, unbalanced brackets, known pitfalls) and warnings (undefined results, reserved names, two-point intersections without an index).
  • If the window is closed or reloaded, the next tool call reopens it and restores the last known figure.
  • Undo is managed by the server (XML history), because ggbApplet.undo() does not revert API commands.

Tools

ToolPurpose
ggb_run_commandsRun commands in order; per-command result, created/removed objects, warnings, failure hints. Assigning to an existing name redefines it.
ggb_get_stateObjects with type, definition, value, coordinates, visibility, dependsOn / usedBy.
ggb_screenshotPNG of the drawing area (or the whole window) for visual checking.
ggb_evaluateEvaluate expressions without adding objects (Angle(B, A, C), AreCollinear(A, H, O)…).
ggb_set_styleColor, visibility, label, caption, thickness, line style, point size, fill, fixed.
ggb_deleteDelete objects (and their dependents).
ggb_clearStart a new figure.
ggb_undoRevert changes made through the server.
ggb_snapshotSave / restore / list named versions.
ggb_fit_viewFit every visible point and circle in view (1:1 ratio), toggle axes/grid.
ggb_exportSave as .ggb or .png.

Also: resource geogebra://rules (construction rules), resource geogebra://commands (command catalog), prompt draw_geometry_problem.

Setup

Requirements: Node.js ≥ 20 and Google Chrome or Microsoft Edge (otherwise run npx playwright install chromium).

Claude Code (plugin)

claude plugin marketplace add haison8x/geogebra-mcp
claude plugin install geogebra-mcp@geogebra-tools

The server then shows up in /mcp as plugin:geogebra-mcp:geogebra. Update later with claude plugin update geogebra-mcp@geogebra-tools.

Claude Code (without the plugin)

claude mcp add geogebra -- npx -y geogebra-mcp

Claude Desktop, Cursor and other MCP clients

Edit claude_desktop_config.json (Settings → Developer → Edit Config), or your client's MCP config:

{
  "mcpServers": {
    "geogebra": {
      "command": "npx",
      "args": ["-y", "geogebra-mcp"]
    }
  }
}

Then restart the client and ask, for example: "Vẽ tam giác ABC nội tiếp đường tròn (O), đường cao AH, M là trung điểm BC."

From source

git clone https://github.com/haison8x/geogebra-mcp.git
cd geogebra-mcp
npm install
npm run build
claude mcp add geogebra -- node /path/to/geogebra-mcp/dist/index.js

Configuration (environment variables)

VariableDefaultMeaning
GGB_BROWSERtry chrome, msedge, then Playwright ChromiumBrowser channel
GGB_HEADLESS01 to run without a window (testing)
GGB_PROFILE_DIR~/.geogebra-mcp/profileBrowser profile (keeps the GeoGebra login). One server instance per profile.
GGB_URLhttps://www.geogebra.org/calculatorPage to open

Development

Releasing: bump the version in package.json, .claude-plugin/plugin.json, .claude-plugin/marketplace.json, server.json (both version fields) and the pinned version in .mcp.json. Then push, npm publish, mcp-publisher publish, and create a GitHub release.

npm run build
npm run smoke              # end-to-end test through a real MCP client (headless)
npm run smoke -- --headed  # same, with a visible window

Notes

  • Snapshots and undo history live in memory while the server runs.

License & GeoGebra

  • The code in this repository is MIT-licensed (LICENSE). That license does not cover GeoGebra.
  • GeoGebra® is a registered trademark of GeoGebra GmbH. This project is independent and contains no GeoGebra software; it drives your own browser on geogebra.org, so your use of GeoGebra falls under the GeoGebra license.
  • GeoGebra is free for non-commercial use. Commercial use (paid materials, training, services…) needs a license from GeoGebra (office@geogebra.org).
  • When you share figures, images or .ggb files made with this tool, keep the attribution "Made with GeoGebra®" with a link to https://www.geogebra.org.

See NOTICE for details.

Frequently asked questions

What is geogebra-mcp MCP Server?

Draw and edit geometry live on GeoGebra Calculator. Unofficial, not affiliated with GeoGebra.

How do I install geogebra-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. geogebra-mcp MCP Server runs locally from the npm package geogebra-mcp with the command npx -y geogebra-mcp@0.1.2.

Is geogebra-mcp MCP Server free and open source?

Yes. geogebra-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does geogebra-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for geogebra-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does geogebra-mcp MCP Server provide?

geogebra-mcp MCP Server provides 11 tools, including ggb_clear, ggb_delete, ggb_evaluate, and ggb_export. See the full tool list for descriptions and parameters.

How is geogebra-mcp MCP Server's trust score calculated?

geogebra-mcp MCP Server scores 62 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server