Read-only MCP server for searching, comparing, and recommending 18,000+ UK gyms using LocalGym data.
Overview
LocalGym UK Gym Search MCP Server
LocalGym exposes a read-only MCP server and public Agent API for UK gym discovery. AI assistants and agent workflows can search gyms by keyword/location, fetch structured gym details, recommend gyms for a user goal, and compare multiple gyms. Responses include canonical LocalGym URLs for attribution and follow-on user clicks.
Best for:
- AI assistants answering “find me a gym near…” questions
- Local search and recommendation agents
- Fitness, travel, relocation, and local-services workflows
- Demos of agent-readable vertical search data
Category
Local search, fitness, recommendations, travel/local services, consumer discovery
Tools
search_gyms: Search UK gyms by name, keyword, location, or user intent.get_gym_details: Return structured detail for a LocalGym gym slug.recommend_gyms: Recommend gyms for a user goal and location.compare_gyms: Compare several gyms by LocalGym slug.
Links
- Website: https://localgym.uk
- Agent/API docs: https://localgym.uk/agent
- MCP setup guide: https://localgym.uk/agent/mcp
- MCP server script: https://localgym.uk/mcp/localgym-mcp-server.cjs
- OpenAPI schema: https://localgym.uk/api/openapi.json
- LLM instructions: https://localgym.uk/llms.txt
Install
curl -L https://localgym.uk/mcp/localgym-mcp-server.cjs -o localgym-mcp-server.cjs
chmod +x localgym-mcp-server.cjs
LOCALGYM_API_BASE=https://localgym.uk node localgym-mcp-server.cjs
MCP client config:
{
"mcpServers": {
"localgym": {
"command": "node",
"args": ["/absolute/path/to/localgym-mcp-server.cjs"],
"env": {
"LOCALGYM_API_BASE": "https://localgym.uk"
}
}
}
}
Tags
mcp, model-context-protocol, local-search, gyms, fitness, uk, recommendations, ai-agents, openapi, llms-txt
Notes
- No API key required for V1.
- Read-only.
- Attribution requested: link to returned
localgym_urlvalues in public answers. - Commercial/high-volume use: enquiries@localgym.uk.
Server Config
{
"mcpServers": {
"localgym": {
"command": "node",
"args": [
"/absolute/path/to/localgym-mcp-server.cjs"
],
"env": {
"LOCALGYM_API_BASE": "https://localgym.uk"
}
}
}
}