@pooml/mcp
@pooml/mcp
用于 pooml 的 MCP 服务器:可以用普通 SQL 从 Claude 或任何其他 MCP 客户端查询您的日志和指标。
在您的机器上运行(stdio),通过只读 查询 API 与您的 pooml 实例通信。您的凭据保留在本地;pooml 服务器不需要任何 MCP 专属配置。
工具
query_logs- 对日志执行 SQL 查询(级别、服务、通过 FTS5 进行全文搜索)query_metrics- 对指标执行 SQL 查询(计数器和仪表)list_metrics- 列出已有指标,以免模型猜测名称
严格只读:每个查询都会经过 pooml 的分层 SQL 校验(仅 SELECT、白名单表、只读连接、超时、行数上限)。
设置
在 pooml 服务器上,启用查询 API:
POOML_QUERY_API_ENABLED=true和POOML_QUERY_AUTH_SECRET=<min 32 chars>。将其添加到您的 MCP 客户端。对于 Claude Code:
claude mcp add pooml \
-e POOML_URL=https://your-pooml-host:8080 \
-e POOML_QUERY_AUTH_SECRET=your-query-secret \
-- npx -y @pooml/mcp或者,在 .mcp.json 中:
{
"mcpServers": {
"pooml": {
"command": "npx",
"args": ["-y", "@pooml/mcp"],
"env": {
"POOML_URL": "https://your-pooml-host:8080",
"POOML_QUERY_AUTH_SECRET": "your-query-secret"
}
}
}
}如果 pooml 位于带有 Access 的 Cloudflare Tunnel 之后,请添加服务令牌:POOML_CF_ACCESS_CLIENT_ID 和 POOML_CF_ACCESS_CLIENT_SECRET。
为什么使用 SQL
pooml 的核心主张是,您的可观测性数据是 SQLite 数据,可以用 SQL 查询——而 LLM 已经能流利地使用 SQL。不需要让模型去猜测自定义查询语言:它直接编写 SELECT service, COUNT(*) FROM logs WHERE level >= 4 ... 就能得到答案。
许可证
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud
Read-only Yandex Metrika MCP. Query visits, sources, geo, devices and more in plain language.
Query metrics, targets, entities, and team data in your Steep workspace via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/n0rdy/pooml-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server