Skip to content
MCP server
Registry

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.

by lo-nauMITJavaScript1 stars
Trust score
52Fair
Trust score 52 of 100, Fair

Fair trust

52 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 52 comes from

22 + 5 + 1 + 10 + 4 + 10 = 52. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance5 / 20

How recently the repository saw a commit or release.

Maintenance: 5 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

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.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "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

NameRequiredNotes
LOCALGYM_API_BASEOptionalOptional LocalGym API base URL override; defaults to https://localgym.uk.
LOCALGYM_MCP_RATE_LIMIT_MAXOptionalOptional local MCP client-side rate limit per window; defaults to 60. The public API also enforces server-side limits.
LOCALGYM_MCP_RATE_LIMIT_WINDOW_MSOptionalOptional local MCP client-side rate limit window in milliseconds; defaults to 60000.

Tools4Tool docs quality grade C

All capabilities

About

LocalGym MCP Server

Read-only MCP server for searching, comparing, and recommending UK gyms using the public LocalGym Agent API.

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

ToolDescription
search_gymsSearch UK gyms by name, keyword, location, or user intent.
get_gym_detailsReturn structured details for a LocalGym gym slug.
recommend_gymsRecommend gyms for a user goal and location.
compare_gymsCompare 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

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server