Localgym MCP server
io.github.lo-nau/localgym-mcp-server·v0.1.2·1 starsRead-only MCP server for UK gym search using the LocalGym Agent API.
1 stars50 downloads/wk
Reviews
Write oneNobody has reviewed Localgym yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Localgym tools (4)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
compare_gymsCompare several LocalGym gym slugs.
get_gym_detailsGet structured detail for a LocalGym gym slug.
recommend_gymsRecommend gyms for a user goal and location.
search_gymsSearch UK gyms by name, keyword, location, or user intent using LocalGym data.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 121 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Localgym compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 65% of 4,460 AI and agents servers
- Tools
- 4
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 50% of 2,711 AI and agents servers
- Downloads a week
- 50
- more than 42% of 1,538 AI and agents servers with a package
What its tools let an agent do: 4 read
Install Localgym in Claude Code, Cursor or VS Code
Runs npx -y localgym-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add localgym-mcp-server -- npx -y localgym-mcp-server
What the publisher says
From the Localgym repository's README, as published. We do not edit it. Read it on GitHub
LocalGym MCP Server
Read-only MCP server for searching, comparing, and recommending UK gyms using the public LocalGym Agent API.
- Website: https://localgym.uk
- Agent/API docs: https://localgym.uk/agent
- MCP setup page: https://localgym.uk/agent/mcp
- OpenAPI schema: https://localgym.uk/api/openapi.json
- LLM instructions: https://localgym.uk/llms.txt
Why this exists
LocalGym covers 18,000+ UK gyms and fitness centres. This MCP server gives AI assistants and agent workflows a small, attributable interface for local gym discovery without exposing the private LocalGym website codebase.
Tools
Quick start
Run directly from npm:
npx -y localgym-mcp-serverOr clone and run locally:
git clone https://github.com/lo-nau/localgym-mcp-server.git
cd localgym-mcp-server
npm install
npm startThe server uses https://localgym.uk by default. To override it:
LOCALGYM_API_BASE=https://localgym.uk npx -y localgym-mcp-serverMCP client config
Recommended npm-based config:
{
"mcpServers": {
"localgym": {
"command": "npx",
"args": ["-y", "localgym-mcp-server"],
"env": {
"LOCALGYM_API_BASE": "https://localgym.uk"
}
}
}
}Local clone config:
{
"mcpServers": {
"localgym": {
"command": "node",
"args": ["/absolute/path/to/localgym-mcp-server/bin/localgym-mcp-server.cjs"],
"env": {
"LOCALGYM_API_BASE": "https://localgym.uk"
}
}
}
}Hermes Agent config
mcp_servers:
localgym:
command: "npx"
args: ["-y", "localgym-mcp-server"]
env:
LOCALGYM_API_BASE: "https://localgym.uk"If you cloned the repo locally instead, use:
mcp_servers:
localgym:
command: "node"
args: ["/absolute/path/to/localgym-mcp-server/bin/localgym-mcp-server.cjs"]
env:
LOCALGYM_API_BASE: "https://localgym.uk"Example tool arguments
search_gyms
{
"query": "personal training",
"location": "Manchester",
"limit": 5
}getgymdetails
{
"slug": "kent-sports-fitness"
}recommend_gyms
{
"intent": "beginner friendly gym with personal training",
"location": "Leeds",
"limit": 5
}compare_gyms
{
"slugs": [
"kent-sports-fitness",
"the-box-private-personal-training-studio"
]
}Test
npm testYou can also smoke-test tool discovery by sending MCP JSON-RPC frames over stdio from an MCP client.
Usage policy
V1 is free, read-only, and attribution-first. Please link back to returned localgym_url values when using LocalGym data in public answers.
The public LocalGym Agent API enforces server-side rate limits. This MCP wrapper also includes a local courtesy limiter, defaulting to 60 tool calls per 60 seconds per running MCP process. You can lower it with LOCALGYMMCPRATELIMITMAX or LOCALGYMMCPRATELIMITWINDOW_MS; high-volume/commercial use should be arranged first.
For high-volume, commercial, affiliate, or claimed-listing use, contact enquiries@localgym.uk.
License
MIT
Nothing above is checked by us. What we check is on the safety report.
Localgym: common questions
- Is Localgym MCP server safe?
- Mostly: it is graded B (82/100). Read the Localgym safety report
- How do I install Localgym?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Localgym need an API key?
- No secret keys are declared. It reads 3 settings from the environment.
- Is Localgym maintained?
- The last commit was 159 days ago (2026-05-29). The latest release is v0.1.2.
- How does Localgym compare with other AI and agents MCP servers?
- safety score 82/100 (higher than 65% of 4,460 AI and agents servers); tools 4 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.