Metadata-Version: 2.4
Name: agent-analytics-mcp-server
Version: 0.1.0
Summary: Usage analytics and monitoring for AI agent tool calls — track, analyze and optimize agent behavior
Project-URL: Homepage, https://github.com/AiAgentKarl/agent-analytics-mcp-server
Project-URL: Repository, https://github.com/AiAgentKarl/agent-analytics-mcp-server
Author: AiAgentKarl
License: MIT
Keywords: ai-agents,analytics,mcp,monitoring,usage-tracking
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Requires-Dist: mcp>=1.0.0
Requires-Dist: pydantic>=2.0.0
Description-Content-Type: text/markdown

# Agent Analytics MCP Server 📊

Usage analytics and monitoring for AI agent tool calls. Track, analyze, and optimize how agents use your tools.

## Features

- **Event Tracking** — Log every tool call with duration, success/failure, metadata
- **Dashboard** — Overview with total calls, error rates, top tools, daily trends
- **Per-Tool Analytics** — Deep dive into individual tool performance
- **Per-Agent Analytics** — See how specific agents use your services
- **Error Tracking** — Monitor and debug failures

## Installation

```bash
pip install agent-analytics-mcp-server
```

## Usage with Claude Code

```json
{
  "mcpServers": {
    "analytics": {
      "command": "uvx",
      "args": ["agent-analytics-mcp-server"]
    }
  }
}
```

## Tools

| Tool | Description |
|------|-------------|
| `track_event` | Log a usage event |
| `get_dashboard` | Overview dashboard |
| `tool_analytics` | Per-tool deep dive |
| `agent_analytics` | Per-agent usage |

## License

MIT
