关于 Sonoma Animal Services
Sonoma Animal Services 是查询加州索诺玛县动物服务所收容记录的 MCP 服务,适用于关注收容动物和结果统计的用户。它可检索近期入所记录、按编号或名称等查找动物,并汇总收容结果。
主要功能
- 01查询近期收容记录
- 02按编号、名称或品种查找动物
- 03筛选仍在收容所的动物
- 04按类型或月份汇总结果
适用场景
- 01查看近期入所动物
- 02确认某只动物是否仍在收容所
- 03统计不同类别的收容结果
MCP 相关
它向 MCP 客户端提供 Sonoma County Animal Services 的记录查询工具,可通过 Pipeworx 网关连接,也可作为本地 stdio MCP 服务运行。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://gateway.pipeworx.io/sonoma-animal-services/mcpclaude mcp add --transport http pipeworx-io-sonoma-animal-services https://gateway.pipeworx.io/sonoma-animal-services/mcp{"mcpServers":{"pipeworx-io-sonoma-animal-services":{"type":"http","url":"https://gateway.pipeworx.io/sonoma-animal-services/mcp"}}}在 Cursor 中打开{"servers":{"pipeworx-io-sonoma-animal-services":{"type":"http","url":"https://gateway.pipeworx.io/sonoma-animal-services/mcp"}}}在 VS Code 中打开{"mcpServers":{"pipeworx-io-sonoma-animal-services":{"type":"http","url":"https://gateway.pipeworx.io/sonoma-animal-services/mcp"}}}{"mcpServers":{"pipeworx-io-sonoma-animal-services":{"serverUrl":"https://gateway.pipeworx.io/sonoma-animal-services/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
@pipeworx/sonoma-animal-services
Sonoma County Animal Services(加利福尼亚州圣罗莎/索诺马县)的实时收容所接收与处置记录——近期接收记录、动物查询(包括“这只动物现在还在收容所吗”)以及处置摘要。
属于 Pipeworx — 一个将 AI Agent 连接到 1683+ 个实时数据源的 MCP 网关。
工具
sonoma_recent_intakes(days?, animal_type?, intake_type?, limit?)— 近期接收记录(默认最近 30 天),并提供该时间段内的总数。sonoma_search_animal(animal_id?, name?, breed?, in_shelter_only?, limit?)— 按 ID、名称或品种查询动物。in_shelter_only=true可回答 “收容所现在有 [breed] 吗”——尚无outcome_date的动物仍在收容所。sonoma_outcomes_summary(since?, group_by?)— 按outcome_type、animal_type或month分组的处置数量。
身份验证
无需密钥。传入你自己的 Socrata 应用令牌 _apiKey,即可获得更高的速率限制。
数据源
- https://data.sonomacounty.ca.gov/resource/924a-vesw.json — “Animal
Shelter Intake and Outcome”:每只动物一行,接收和处置字段均位于同一条记录中(与 Austin 不同,Austin 将接收和处置拆分为不同数据集)。
outcome_date IS NULL表示动物尚未离开收容所。
快速开始
添加到你的 MCP 客户端(Claude Desktop、Cursor、Windsurf 等):
{
"mcpServers": {
"sonoma-animal-services": {
"url": "https://gateway.pipeworx.io/sonoma-animal-services/mcp"
}
}
}
此端点实际提供的内容
https://gateway.pipeworx.io/sonoma-animal-services/mcp 上的 tools/list 会返回上表中的工具,以及 Pipeworx 通用元工具——ask_pipeworx、
discover_tools、search_within、remember/recall 和网关范围内的其他工具。因此,你看到的工具数量会多于此表:目前,单个工具包端点除了该工具包自身的工具,还会列出约 30 个通用工具。连接的 initialize 响应会说明其确切范围,是当天情况的权威答案。
这是有意为之,并非意外的多路复用。元工具可以让限定范围的连接回答此工具包未涵盖的问题——通过 ask_pipeworx 在整个目录中路由——而无需添加第二个 MCP 服务。目前无法在不包含这些工具的情况下挂载工具包端点;如果额外的架构占用的上下文比路由带来的价值更大,请连接一次完整网关,而不是连接多个工具包端点。
也可以连接完整的 Pipeworx 网关,直接列出所有工具包的工具,而不仅仅是此工具包的工具:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
两个 URL 都会访问同一个网关和同一组 1683+ 个数据源。唯一的区别是直接列出哪个工具包的工具;无论连接哪一个,ask_pipeworx 都可以访问所有工具。
没有 MCP 客户端?通过 HTTP 调用
curl -X POST https://gateway.pipeworx.io/v1/tools/sonoma_recent_intakes \
-H 'Content-Type: application/json' \
-d '{"days":30}'
首次调用无需账户。查看任意工具:GET https://gateway.pipeworx.io/v1/tools/sonoma_recent_intakes。查找工具包:使用 {"query":"..."} 调用 POST https://gateway.pipeworx.io/v1/tools/search_packs。
独立运行(无需网关账户)
此软件包也可以作为本地 stdio MCP 服务运行——无需 Pipeworx 账户,也无需往返网关:
{
"mcpServers": {
"sonoma-animal-services": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-sonoma-animal-services"]
}
}
}
也可以直接运行,确认服务能正常启动:
npx -y @pipeworx/mcp-sonoma-animal-services
它通过 stdin/stdout 使用 MCP 通信,并为仅此工具包自身的工具响应 initialize/tools/list/tools/call——不包含上述网关连接提供的任何通用元工具。数据源相同,工具相同,但没有 ask_pipeworx 路由。
使用 ask_pipeworx
你也可以用自然语言提问,而不是直接调用工具——此方式既适用于上面的工具包端点,也适用于完整网关:
ask_pipeworx({ question: "your question about Sonoma Animal Services data" })
网关会自动选择合适的工具并填充参数。
更多信息
许可证
MIT
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。