# agent-cost-lens-mcp

> agent-cost-lens-mcp — r-lattice-agent-cost-lens-mcp. Use this tool when you need to optimize AI agent usage costs by analyzing spend patterns and identifying areas of waste. It provides cost analysis by previewing metadata and evaluating cache-hit rates, spend, and waste recovery through a local or remote server interface. Ideal for use cases where cost transparency and efficiency are crucial, such as large-scale AI deployments or resource-constrained environments.

Canonical page: https://skillsregistry.net/skills/r-lattice-agent-cost-lens-mcp  
JSON: https://api.skillsregistry.net/v1/skills/r-lattice-agent-cost-lens-mcp

## Description

Provides cost analysis of AI agent usage by previewing scrubbed metadata before upload and analyzing spend, cache-hit rates, and waste recovery through a local or remote server.

## Trust

- **Trust score (0–1):** 0.66
- **Verification tier:** scanned
- **Last scanned:** 2026-08-29

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-08-29

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/dm4sjrl8jh)
- **Repository:** <https://github.com/r-lattice/agent-cost-lens-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "r-lattice-agent-cost-lens-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/r-lattice-agent-cost-lens-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/r-lattice-agent-cost-lens-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
