griptonite-mcp
This MCP server provides an interface to the Griptonite indoor climbing app, letting you browse climbing data, track progress, and log climbs through any MCP client.
Authentication
auth_status– Check sign-in status and token expiryget_login_url– Generate an OAuth login URL to start the sign-in flow
Venues & Routes
list_venues– Find climbing gyms/venues with optional searchlist_routes– Browse routes/problems, filterable by venue, grade, and limitget_route– Get full details for a single route by IDlist_grades– View all supported grade systems (V-scale, Font, etc.)
Logging Climbs
log_climb– Log a send, flash, onsight, attempt, or project with optional grade opinion, star rating, notes, and timestamplog_attempt– Shortcut to log an unsuccessful attempt or project try
Your Climbing Log
get_completed_climbs– List every climb you've sent, including try countsget_projects– View climbs you're currently projecting, with attempt countsget_all_logs– Retrieve all logged entries (sends + attempts)
Profile & Social
get_profile– View a climber profile (defaults to your own)get_feed– See recent activity from you and your crewget_notifications– Check your notifications
Rankings & Competitions
get_gym_rankings– View leaderboards for gyms you've joinedget_world_rankings– See the global ranking across all Griptonite climbersget_competition_rankings– View standings for a specific competition or all visible ones
Training & Events
list_workouts– Browse available workoutslist_competitions– View competitions and eventslist_challenges– See active challenges
Advanced / Discovery
raw_request– Make any arbitrary authenticated API call for exploring undocumented endpointslist_known_endpoints– View all confirmed API endpoints
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@griptonite-mcp log a flash on route 456"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
griptonite-mcp
An MCP server for Griptonite, the indoor climbing app. Log attempts and sends, browse routes and grades, and pull your climbing log into any MCP client — Claude Desktop, Claude Code, Cursor, and friends. Built in the same spirit as the popular Garmin MCP servers: a thin, auth-aware wrapper around a fitness backend that has no official public API.
Unofficial. Not affiliated with or endorsed by Griptonite / Cascom Ltd. Reverse-engineered from the app's backend for personal use. Respect Griptonite's Terms of Service and don't hammer their API.
What it can do
Tool | What it does |
| Check whether you're signed in and when the token expires |
| Get an OAuth login URL to start the sign-in flow |
| Find climbing gyms/venues (optional search) |
| List routes/problems, filter by venue and grade |
| Full detail for one route (e.g. an id from an NFC tag) |
| Grade systems Griptonite knows (V-scale, Font, ...) |
| A climber profile (defaults to you) |
| Recent activity feed (your + crew sends) |
| Your notifications |
| Training + events |
| Leaderboard for the gyms you've joined |
| Global ranking across all climbers |
| Standings for a competition |
| Every climb you've sent, with tries |
| Climbs you're currently projecting, with tries |
| All logged entries (sends + attempts) with tries |
| Log a send / flash / onsight / attempt / project on a route |
| Shortcut for logging an unsuccessful try |
| Call any API path with your token (discovery / wiring) |
| Show the confirmed API surface |
Related MCP server: mcp-fitbod
How it works
Griptonite's backend lives at https://api.griptonite.io and is a Django REST
Framework API guarded by OAuth2 (authorization-code, scope appuser). The
endpoint names in config.py were confirmed by probing the live API — paths
that answer 401 Unauthorized exist; 404s don't. Confirmed groups include routes, grades, venues, feed, venues/rankings (gym leaderboards), profiles/rankings (world), and routes/completed / routes/projects / routes/logs (your climbs). Auth follows the app's own
browser login: you sign in once, hand back the code, and the server caches a
bearer token (default ~/.griptonite/token.json, gitignored) and refreshes it
transparently.
Install
git clone https://github.com/<your-username>/griptonite_mcp.git
cd griptonite_mcp
pip install -e . # or: pip install -e ".[dev]" for testsRequires Python 3.10+.
Authenticate (once)
Griptonite has no public API, so there's no API key to paste. Instead you sign in through the browser once and hand the tool the one-time code, exactly like the mobile app does. Run:
griptonite-auth # or: python -m griptonite_mcp.authIt prints a login URL. Open it, sign into Griptonite, and copy the code from
the redirect back into the terminal. The token is cached (and auto-refreshed)
from then on, so you only do this once.
Catching the code (important)
After you log in, Griptonite redirects to https://www.griptonite.io/?code=...
— but www.griptonite.io instantly redirects to griptonite.io, and that
redirect strips the ?code out of the address bar. That's expected. Grab the
code from the Network tab instead:
Open your browser's DevTools (F12) and click the Network tab.
Tick Preserve log (so redirect entries aren't cleared).
Log in via the printed URL.
Filter the list by typing
code, and click the request named?code=...(the request towww.griptonite.io). Its Request URL ishttps://www.griptonite.io/?code=LONGCODE&state=....No such row? Click the
authorizerequest and read its responselocationheader — the code is there.
Copy that whole URL (or just the
codevalue) and paste it at the prompt.
The code is single-use and expires in about a minute, so grab it promptly. If
you miss it, just re-run griptonite-auth. The tool detects a stripped/empty
paste and re-prompts with this reminder.
Why not a localhost redirect? The OAuth client is registered to redirect only to
griptonite.io, so the usual "spin up a local server and auto-capture" trick isn't available — hence the one-time manual copy.
Add to Claude Desktop
Add to claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"griptonite": {
"command": "python",
"args": ["-m", "griptonite_mcp"]
}
}
}Then restart Claude Desktop and ask things like "log a V4 flash on route " or "what have I sent at my gym this week?".
Wiring the log endpoint
Reads are fully mapped. The write path for logging a climb
(log_climb / log_attempt) is the one piece that couldn't be confirmed
without capturing an authenticated request, because the mobile app doesn't
expose it publicly. The server's default is POST /routes/log — the singular /routes/log path
is confirmed to exist — with the route id sent in the body. That's still a best
guess until someone captures the real request; it's trivial to correct:
Sign into Griptonite in a browser or proxy the app (Charles / mitmproxy / browser DevTools → Network).
Log a climb in the app and find the request it fires.
Set the real path and, if needed, adjust the JSON field names:
export GRIPTONITE_LOG_ENDPOINT="/routes/log" # or the real path you capturedFor field names, tweak the
payloaddict inlog_climb(server.py) or thelog_climbmethod inclient.py.Meanwhile you can experiment live with the
raw_requesttool, e.g.raw_request("POST", "/routes/123/ticks", body={...}).
Example prompts
Once it's wired into your MCP client, try:
"What have I sent at my home gym this month, and how many tries did each take?"
"Show my current projects ordered by number of attempts."
"Where do I rank in my gym right now? And globally?"
"Log a V4 flash on route
<id>.""Find blue V3–V5 routes at venue
<id>I haven't tried yet."
Configuration
All optional; sensible defaults are baked in. Copy .env.example to .env.
Variable | Default | Purpose |
| (discovered) | OAuth client id |
|
| OAuth redirect |
|
| API base URL |
|
| Token cache location |
|
| Climb-log write path |
Develop
pip install -e ".[dev]"
pytest # unit tests (no network / creds needed)
python scripts/discover_endpoints.py # re-probe the live API surfaceProject layout
griptonite_mcp/
config.py # env-driven settings + confirmed endpoint constants
auth.py # OAuth2 auth-code flow, PKCE, token cache, refresh
client.py # async httpx client with 401-refresh-retry
server.py # FastMCP server + tool definitions
scripts/
discover_endpoints.py # re-map the API surface
tests/
test_client.py # request building, error handling, auth URLContributing
Issues and PRs welcome — especially confirming API endpoints/payloads. See CONTRIBUTING.md and the CHANGELOG.
Disclaimer
This is an unofficial, community project and is not affiliated with, endorsed by, or supported by Griptonite / Cascom Ltd. It talks to the same backend the official app uses, discovered by observing public network behaviour. Use it for your own data, respect Griptonite's Terms, and don't hammer the API. If Griptonite ships an official API, prefer that.
License
MIT — see LICENSE.
Available Tools
22 toolsauth_statusARead-only
Report whether a Griptonite token is cached and roughly when it expires.
Inputs: no named parameters. Returns: result
get_all_logsARead-only
List all logged entries (sends and attempts together), with try counts.
Inputs: limit. Returns: result
get_competition_rankingsBRead-only
See rankings/standings for a competition (or all visible competitions).
Inputs: competition_id. Returns: result
get_completed_climbsBRead-only
List every climb you've completed/sent, each with its number of tries.
Returns a compact summary (route, grade, tries, result, date) plus the full raw payload. If the 'tries' field comes back null, the API used a field name not yet mapped — inspect 'raw' and extend _summarize_climbs in server.py.
Inputs: limit. Returns: result
get_feedARead-only
Get the climbing activity feed (recent sends/logs from you and your crew).
Inputs: limit. Returns: result
get_gym_rankingsARead-only
See the leaderboard/ranking for the gyms you've joined.
Optionally pass a venue_id to focus one gym; omit it to see all your gyms.
Inputs: venue_id. Returns: result
get_login_urlARead-only
Return a Griptonite OAuth login URL. Open it, sign in, then finish the
exchange with griptonite-auth (paste the redirected URL).
Inputs: no named parameters. Returns: result
get_notificationsBRead-only
Get the signed-in climber's notifications.
Inputs: no named parameters. Returns: result
get_profileARead-only
Get a climber profile. Defaults to the signed-in user ('me').
Inputs: profile_id. Returns: result
get_projectsARead-only
List the climbs you're currently projecting, each with tries so far.
A 'project' is a hard climb you're working but haven't sent yet. Returns the same compact-plus-raw shape as get_completed_climbs.
Inputs: limit. Returns: result
get_routeARead-only
Get full detail for a single route/problem by its id (e.g. from an NFC tag).
Inputs: route_id (required). Returns: result
get_world_rankingsARead-only
See the global (world) ranking across all Griptonite climbers.
Inputs: limit. Returns: result
list_challengesARead-only
List active challenges the climber can take part in.
Inputs: no named parameters. Returns: result
list_competitionsARead-only
List competitions/events visible to the climber.
Inputs: no named parameters. Returns: result
list_gradesARead-only
List the grade systems/labels Griptonite knows about (V-scale, Font, etc.).
Inputs: no named parameters. Returns: result
list_known_endpointsARead-only
List the API endpoints confirmed to exist during reverse-engineering.
Inputs: no named parameters. Returns: result
list_routesARead-only
List routes/problems, optionally filtered by venue, grade, and limit.
Inputs: grade, limit, venue_id. Returns: result
list_venuesBRead-only
List climbing gyms/venues on Griptonite. Optional free-text search.
Inputs: search. Returns: result
list_workoutsBRead-only
List Griptonite workouts available to the climber.
Inputs: no named parameters. Returns: result
log_attemptA
Convenience wrapper: log an unsuccessful attempt / project try on a route.
Inputs: route_id (required), notes, attempts. Returns: result
log_climbA
Log a climb against a route.
Args: route_id: The route/problem id (e.g. scanned from an NFC tag). result: 'send', 'flash', 'onsight', 'attempt', or 'project'. attempts: Number of attempts this session (>=1). grade: Optional personal grade opinion (e.g. 'V4', '6C+'). rating: Optional star rating 1-5. notes: Optional free-text notes / beta. logged_at: Optional ISO-8601 timestamp; defaults to server 'now'.
NOTE: the exact write endpoint/payload is not yet confirmed (Griptonite has
no public API). If this returns a 404/400, capture one real "log" request
from the app and set GRIPTONITE_LOG_ENDPOINT / adjust the payload — see the
README. Use raw_request to experiment.
Inputs: route_id (required), grade, notes, rating, +3 more. Returns: result
raw_requestADestructive
Call any Griptonite API path with the signed-in token.
Handy for discovering or wiring endpoints that aren't wrapped yet. path
is relative to the API base (e.g. '/routes/123'). Returns parsed JSON.
Inputs: path (required), method (required), body, query. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Most tools target distinct resources (logs, climbs, rankings, etc.), but there is slight overlap between log_attempt and log_climb since log_climb can also record attempts, causing potential confusion for an agent.
The majority of tools follow a verb_noun pattern (get_*, list_*, log_*), but 'auth_status' lacks a verb and 'raw_request' uses an adjective-noun pattern, deviating from the predominant convention.
22 tools is slightly above the typical sweet spot of 3-15, but it is justified by the breadth of features (auth, routes, logs, rankings, etc.) and includes a raw_request tool for flexibility.
The tool surface covers core workflows like authentication, route browsing, logging climbs, and viewing rankings, with a raw_request tool to handle missing endpoints. Minor gaps exist (e.g., no update/delete for logs), but agents can work around them.
Maintenance
Related MCP Connectors
Read your workouts, history, and stats; create and schedule new workouts. Writes are additive only.
Agent-first strength-training platform across iOS, Web & MCP: read & write workouts, PRs & plans.
Access COROS activity, training and health data, and manage training plans and workouts.
OAuth-protected CrossFit and HYROX catalog: workouts, benchmarks, and movement guides.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables triathlon coaches and athletes to interact with Garmin Connect, including retrieving health/activity data, building and uploading structured workouts (cycling, running, swimming, brick), and accessing coaching analytics like readiness, load, and performance trends.172MIT
- AlicenseNot gradedqualityDmaintenanceEnables reading Fitbod training history, generating workouts via Fitbod's engine, configuring workout programs, and tracking body composition over time.4MIT
- AlicenseAqualityBmaintenanceEnables AI agents to read and analyze your Boardsesh climbing logbook across boards like Kilter, Tension, and MoonBoard, with read-only access and optional credentials for personalized recommendations.12MIT
- AlicenseCqualityBmaintenanceEnables reading training history and planning complete workouts on a personal calendar, including exercises with videos, sets, reps, per-set weights, supersets, notes, and block instructions. It also supports searching the exercise library, copying or moving sessions, and retrieving performance stats, personal records, and feedback.29MIT