
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 分