MCPサーバー
grafana-loki-mcp
ローカルで動作MIT2026年1月5日 更新29GitHubスターAPIキーが必要
A Python MCP server built with FastMCP that queries Loki logs through a Grafana instance's API rather than talking to Loki directly.
このサーバーについて
A Python MCP server built with FastMCP that queries Loki logs through a Grafana instance's API rather than talking to Loki directly. It is installed from PyPI as grafana-loki-mcp or run with uvx, and takes the Grafana URL and a Grafana API key as arguments or environment variables. It can run log queries, list Loki labels and their values, and return results as text, JSON or Markdown, over stdio or SSE.
できること
- Query Loki logs through the Grafana API
- List Loki labels and label values
- Format results as text, JSON or Markdown
概要
- 公開元
- tumf
- ツール
- Grafana
インストール
- すべてのクライアントに追加するには、次のコマンドを実行します:
pip install grafana-loki-mcp
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
出典
- GitHubリポジトリgithub.com/tumf/grafana-loki-mcp · 根拠となる項目:接続方式, APIキーまたはサインインが必要, 公式かどうか, 公開元, 活動状況, ライセンス2026年11月11日
- ライセンスファイル(LICENSE)github.com/tumf/grafana-loki-mcp · 根拠となる項目:ライセンス2026年11月12日
- PyPIのパッケージ情報pypi.org/project/grafana-loki-mcp2026年11月10日