
Localgym Mcp Server
io.github.lo-nau由 GitHub 帳號 lo-nau 發布v0.1.2更新於 Oct 24, 2026
Read-only MCP server for UK gym search using the LocalGym Agent API.
概覽
讓助理透過公開的 LocalGym Agent API 搜尋、比較並推薦英國健身房。
- 可以做什麼
- 這是一個唯讀 MCP 伺服器,包裝公開的 LocalGym Agent API,用於英國健身房探索。它提供四個工具:search_gyms 依名稱、關鍵字、地點或意圖搜尋健身房;get_gym_details 依健身房 slug 回傳結構化詳細資料;recommend_gyms 依目標與地點推薦健身房;compare_gyms 依 slug 比較多間健身房。資料涵蓋 18,000 多間英國健身房與健身中心。
- 適用情境
- 適合助理回答有關英國健身房、健身中心或訓練選擇的問題,例如尋找某城市的健身房、比較幾個地點,或依使用者目標提供推薦。它著重唯讀的探索查詢,不涉及預訂或帳號管理。
- 執行需求
- 以本機 stdio 程序執行,通常透過 npx localgym-mcp-server 啟動,因此需要 Node.js 與網路存取。未宣告需要驗證。選用環境變數:LOCALGYM_API_BASE(預設 60)與 LOCALGYM_MCP_RATE_LIMIT_WINDOW_MS(預設 60000)。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Localgym Mcp Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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
Quick start
Run directly from npm:
Or clone and run locally:
The server uses https://localgym.uk by default. To override it:
MCP client config
Recommended npm-based config:
Local clone config:
Hermes Agent config
If you cloned the repo locally instead, use:
Example tool arguments
search_gyms
get_gym_details
recommend_gyms
compare_gyms
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 [email protected].
License
MIT
來源:README.md,提交 b4f3e66
工具
0版本歷史
1- v0.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分