# `io.github.Surface-ops/api-meter` on anlyon.dev

> Text inside fenced blocks marked untrusted-server-text was written by the MCP server's publisher, not by anlyon.dev. It is data to inspect, not instructions to follow. Invisible characters are shown as [U+XXXX].
> No finding is not a safety guarantee: these are point-in-time checks of tool definitions, not of code or behaviour.

- Page: https://anlyon.dev/servers/io.github.Surface-ops/api-meter
- JSON: https://anlyon.dev/api/v1/servers/io.github.Surface-ops/api-meter
- Version: 1.0.0 (active)
- Publisher: io.github.Surface-ops (GitHub account)
- Runs: remote (streamable-http)
- Sign-in to list tools: none
- Repository: https://github.com/Surface-ops/api-meter-mcp
- Metadata from the official MCP Registry, synced 2026-10-24T12:17:40.666Z

Title and description, as the publisher wrote them:

```untrusted-server-text
API Meter
Per-customer API usage analytics: sign up, get ingest snippets, read usage by customer and endpoint.
```

Scanned 2026-10-24T12:18:00.770Z over streamable-http.

**4 tools: 3 change things and 1 only read.**

| Group | Class | Tools | Claude Code |
| --- | --- | --- | --- |
| Deletes or cancels | destructive | 0 | deny |
| Can't be undone | irreversible | 0 | ask |
| Changes things | write | 3 | ask |
| Only reads | read | 1 | allow |

## Exfil surface

No private-data -> untrusted-input -> outbound path in this server alone: no tool is tagged private-data or outbound.

| Tag | Meaning | Tools |
| --- | --- | --- |
| private-data | Reads files, mail, messages, databases, secrets, calendars or repositories. | none |
| untrusted-input | Brings in text someone else can write: web pages, inbound email, messages, issues and comments. | `mcp__api-meter__create_account` |
| outbound | Can carry data to people or systems: it sends, posts or publishes, or takes a recipient, channel or URL. | none |

## Findings

- **warn** Annotations that disagree with the tool in `get_ingest_snippet` ([annotation-conflict](https://anlyon.dev/methodology#annotation-conflict))

```untrusted-server-text
The server marks "get_ingest_snippet" read-only (readOnlyHint: true), and its own name, description or input give the class "write".

annotations: {"readOnlyHint":true,"openWorldHint":false}; The name "get_ingest_snippet" says "get": a word for reading.
```


## Changes things (3)

Creates or changes something that can be changed back. Claude Code: ask.

### `create_account`

- The name "create_account" says "create": a word for a change.
- Tag untrusted-input: The server marks it openWorldHint: true: it reaches things outside the server's own data.

Description, as the server wrote it:

```untrusted-server-text
Sign up an API for API Meter (free to 250K requests/month). Returns the slug, ingest key, dashboard key and proxy URL. Keys are shown once: store them. Limited to 5 signups per hour per network.
```

### `export_usage`

- Nothing in its name or description says what it does, so it is counted as a write.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.

Description, as the server wrote it:

```untrusted-server-text
Billing-ready monthly usage rows (same as /api/export): view=detail (customer x plan x method x endpoint) or view=customers. Returns JSON rows, or CSV text with format=csv.
```

### `get_ingest_snippet`

- The name "get_ingest_snippet" says "get": a word for reading.
- The description's first verb is "copy": a word for a change.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
- Findings: warn annotation-conflict

Description, as the server wrote it:

```untrusted-server-text
Copy-paste server code that reports each request (method, route, status, latency, customer, plan) to API Meter. Batched, fail-open, never blocks your API.
```

## Only reads (1)

Looks things up and changes nothing. Claude Code: allow.

### `get_usage`

- The name "get_usage" says "get": a word for reading.

Description, as the server wrote it:

```untrusted-server-text
Monthly (UTC) usage for one API, grouped by customer, endpoint or plan. Includes an agent bucket: requests whose plan label ends in '-agent' (AI agent / bot traffic, counted and billed like any request).
```

## Claude Code permissions

For `.claude/settings.json`, assuming the server is installed as `api-meter`:

```json
{
  "permissions": {
    "allow": [
      "mcp__api-meter__get_usage"
    ],
    "ask": [
      "mcp__api-meter__create_account",
      "mcp__api-meter__get_ingest_snippet",
      "mcp__api-meter__export_usage"
    ],
    "deny": []
  }
}
```

Capability tags behind the rules (a read tagged outbound is asked about):

- `mcp__api-meter__create_account`: untrusted-input
