This commit is contained in:
George Liu 2025-10-24 05:58:25 +10:00
parent bd3dae317c
commit f4164b4748

View File

@ -21,6 +21,7 @@ I also install the following MCP servers ([install commands](#claude-code-mcp-se
* [Context 7 MCP](https://github.com/upstash/context7) * [Context 7 MCP](https://github.com/upstash/context7)
* [Chrome Devtools MCP](https://github.com/ChromeDevTools/chrome-devtools-mcp) * [Chrome Devtools MCP](https://github.com/ChromeDevTools/chrome-devtools-mcp)
* [Notion MCP](https://github.com/makenotion/notion-mcp-server) * [Notion MCP](https://github.com/makenotion/notion-mcp-server)
* [Claude Code Usage Metrics MCP](https://github.com/centminmod/claude-code-opentelemetry-setup)
## Claude Code Hooks ## Claude Code Hooks
@ -364,6 +365,29 @@ files by blocking Write operations to certain paths
## Claude Code MCP Servers ## Claude Code MCP Servers
[Claude Code Usage Metrics MCP](https://github.com/centminmod/claude-code-opentelemetry-setup)
```bash
claude mcp add --transport stdio metrics -s user -- uv run --directory /path/to/your/mcp-server metrics-server
```
```bash
claude mcp list
Checking MCP server health...
context7: https://mcp.context7.com/sse (SSE) - ✓ Connected
cf-docs: https://docs.mcp.cloudflare.com/sse (SSE) - ✓ Connected
metrics: uv run --directory /path/to/your/mcp-server metrics-server - ✓ Connected
```
MCP tool call `get_current_cost`. Returns today's total USD cost from Prometheus.
```bash
{
"metric": "Total Cost Today",
"value": 27.149809833783127,
"formatted": "$27.1498",
"unit": "currencyUSD"
}
```
### Gemini CLI MCP Server ### Gemini CLI MCP Server
[Gemini CLI MCP](https://github.com/centminmod/gemini-cli-mcp-server) [Gemini CLI MCP](https://github.com/centminmod/gemini-cli-mcp-server)