
Localgym Mcp Server
Wraps the LocalGym Agent API to give Claude read-only access to 18,000+ UK gyms and fitness centres. You get four tools: search by name or location, fetch structured details by slug, recommend gyms based on user intent and location, and compare multiple gyms side by side. Ships with courtesy rate limiting at 60 calls per minute and expects attribution back to localgym.uk URLs in public responses. Run it directly via npx or clone the repo and point your MCP client at the compiled binary. Built for local gym discovery workflows without exposing the private LocalGym codebase.
- GitHub stars
- 1
- tools
- 4
- transport
- STDIO
- env vars
- 3
- last updated
- May 30, 2026
Tools
4 toolsPublic tool metadata for what this MCP can expose to an agent.
search_gymsSearch UK gyms by name, keyword, location, or user intent.
Search UK gyms by name, keyword, location, or user intent.
No parameter schema in public metadata yet.
get_gym_detailsReturn structured details for a LocalGym gym slug.
Return structured details for a LocalGym gym slug.
No parameter schema in public metadata yet.
recommend_gymsRecommend gyms for a user goal and location.
Recommend gyms for a user goal and location.
No parameter schema in public metadata yet.
compare_gymsCompare several gyms by LocalGym slug.
Compare several gyms by LocalGym slug.
No parameter schema in public metadata yet.
Sponsors
Configuration
LOCALGYM_API_BASEOptional LocalGym API base URL override; defaults to https://localgym.uk.
LOCALGYM_MCP_RATE_LIMIT_MAXOptional local MCP client-side rate limit per window; defaults to 60. The public API also enforces server-side limits.
LOCALGYM_MCP_RATE_LIMIT_WINDOW_MSOptional local MCP client-side rate limit window in milliseconds; defaults to 60000.
Readme
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
Details
- Repository
- github.com/lo-nau/localgym-mcp-server
- Categories
- AI & LLM Tools, Search & Web Crawling
- Package
localgym-mcp-server- Transport
- STDIO
- Registry
- MCP registry, active