localgym-mcp-server MCP Server
Read-only MCP server for UK gym search using the LocalGym Agent API.
localgym-mcp-server scores 52 (Fair), licensed MIT and written in JavaScript. It installs as a local process. It declares 4 tools. Filed under Search. GitHub shows 1 stars. Package registries report about 55 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
52 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
81/100 for listing completeness. Lost points: short README, short summary, no docs link.
How quality is graded
Where the 52 comes from
22 + 5 + 1 + 10 + 4 + 10 = 52. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 5 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.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.
{ "mcpServers": { "lo-nau-localgym-mcp-server": { "command": "npx", "args": [ "-y", "localgym-mcp-server@0.1.2" ], "env": { "LOCALGYM_API_BASE": "", "LOCALGYM_MCP_RATE_LIMIT_MAX": "", "LOCALGYM_MCP_RATE_LIMIT_WINDOW_MS": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
LOCALGYM_API_BASE | Optional | Optional LocalGym API base URL override; defaults to https://localgym.uk. |
LOCALGYM_MCP_RATE_LIMIT_MAX | Optional | Optional local MCP client-side rate limit per window; defaults to 60. The public API also enforces server-side limits. |
LOCALGYM_MCP_RATE_LIMIT_WINDOW_MS | Optional | Optional local MCP client-side rate limit window in milliseconds; defaults to 60000. |
Tools4Tool docs quality grade C
All capabilitiescompare_gymstoolCompare several gyms by LocalGym slug.
get_gym_detailstoolReturn structured details for a LocalGym gym slug.
recommend_gymstoolRecommend gyms for a user goal and location.
search_gymstoolSearch UK gyms by name, keyword, location, or user intent.
About
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
| Tool | Description |
|---|---|
search_gyms | Search UK gyms by name, keyword, location, or user intent. |
get_gym_details | Return structured details for a LocalGym gym slug. |
recommend_gyms | Recommend gyms for a user goal and location. |
compare_gyms | Compare several gyms by LocalGym slug. |
Quick start
Run directly from npm:
npx -y localgym-mcp-server
Or clone and run locally:
git clone https://github.com/lo-nau/localgym-mcp-server.git
cd localgym-mcp-server
npm install
npm start
The server uses https://localgym.uk by default. To override it:
LOCALGYM_API_BASE=https://localgym.uk npx -y localgym-mcp-server
MCP 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
}
get_gym_details
{
"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 test
You 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 LOCALGYM_MCP_RATE_LIMIT_MAX or LOCALGYM_MCP_RATE_LIMIT_WINDOW_MS; high-volume/commercial use should be arranged first.
For high-volume, commercial, affiliate, or claimed-listing use, contact enquiries@localgym.uk.
License
MIT
Frequently asked questions
What is localgym-mcp-server MCP Server?
Read-only MCP server for UK gym search using the LocalGym Agent API.
How do I install localgym-mcp-server 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. localgym-mcp-server MCP Server runs locally from the npm package localgym-mcp-server with the command npx -y localgym-mcp-server@0.1.2.
Is localgym-mcp-server MCP Server free and open source?
Yes. localgym-mcp-server 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 localgym-mcp-server MCP Server support remote (HTTP) connections?
No remote endpoint is listed for localgym-mcp-server MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does localgym-mcp-server MCP Server provide?
localgym-mcp-server MCP Server provides 4 tools: compare_gyms, get_gym_details, recommend_gyms, and search_gyms. See the full tool list for descriptions and parameters.
How is localgym-mcp-server MCP Server's trust score calculated?
localgym-mcp-server MCP Server scores 52 out of 100 (Fair). 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
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.