agentops-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agentops-mcphow much did I spend on Claude Code last week?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agentops-mcp
An MCP server that exposes AI-coding-agent operations analytics as tools any MCP client can call. Ask your assistant "how much did I spend on Claude Code this week?", "what dangerous commands did my agent attempt?", or "where are my tokens wasted?" — answered from the transcripts Claude Code already writes locally. Read-only, no telemetry.
Tools
Tool | Returns |
| tokens, cache hit rate, est. dollars, top projects & tools |
| commands run, file writes, errors, sensitive-path access |
| dangerous actions the agent attempted (force-push, rm -rf, curl|sh) |
| re-read waste, cache misses, concrete fixes |
Each takes days (default 30) and an optional project filter.
Related MCP server: Claude Stats MCP
Install
pipx install git+https://github.com/Ludoonus/agentops-mcp
# or: uvx --from git+https://github.com/Ludoonus/agentops-mcp agentops-mcpUse with Claude Desktop (or any MCP client)
Add to your MCP config:
{
"mcpServers": {
"agentops": { "command": "agentops-mcp" }
}
}Then ask your assistant about your Claude Code cost, audit trail, safety, or efficiency.
How it works
Reads ~/.claude/projects/*.jsonl (the transcripts Claude Code writes), parses the
API-reported usage and tool calls, and serves the analysis over MCP (stdio). Nothing
leaves your machine; the server only reads.
Companion projects
Operator — the same analytics as a CLI/TUI console.
cc-powerpack — guardrail hooks that prevent the dangerous actions this server reports.
Go deeper
These tools are the practical layer; The Claude Code Operator's Handbook is the full playbook — 18 chapters on running AI coding agents safely and efficiently (threat model, guardrails, cost, workflows, recovery, scaling). $29, with a free 3-chapter sample.
License
MIT.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/Ludoonus/agentops-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server