Skip to main content
Glama
MEMO7 Anaphero

MEMO7 Anaphero

Official
by memo7-app
README.md
# MEMO7 Anaphero

**MEMO7 Anaphero.** Powering verification, reliability and clarity in an agentic world. One deterministic MCP stack for markets and research – stop numeral hallucinations, flipped claims, and invented backtests before publish.

**MEMO7.** Real-time market macro and earnings intelligence memos. Every macro and earnings print in one memo. Liquidity flows and expectations distilled for clear decisions.

[![MIT](https://img.shields.io/badge/license-MIT-003ea1.svg)](LICENSE)
[![MCP](https://img.shields.io/badge/MCP-streamable%20HTTP-003ea1.svg)](https://memo7.app/anaphero)
[![Free](https://img.shields.io/badge/free-no%20API%20key-0b7a3b.svg)](https://memo7.app/api-docs)

This repository is a **stdio → HTTPS proxy** plus registry cards. It contains **no** verification algorithms. All logic runs at `https://api.memo7.app/mcp`, and every verify call returns a SHA-256 receipt.

## 10-second demo: real catches, **0** LLM tokens

Three deterministic catches. No model, no prompt, no API key. Same inputs, same receipt.

```console
$ mcp verify_document_numerals '{"document_text":"Q3 EPS was 1.849.","source_data":"metric,value\neps_actual,1.84"}'
FAIL  ungrounded=1  flipped=0  note=  receipt=855662d70dc5

$ mcp verify_document_numerals '{"document_text":"Q3 EPS was 1.84.","source_data":"metric,value\neps_actual,1.84"}'
PASS  ungrounded=0  flipped=0  note=  receipt=f7f4e7b82886

$ mcp verify_directional_claims '{"document_text":"EPS rose 2.0 percent.","source_data":"metric,value\neps_change,-2.0"}'
FAIL  ungrounded=0  flipped=1  note=  receipt=5156e971a9bd

$ mcp verify_directional_claims '{"document_text":"EPS rose 2.0 percent.","source_data":"metric,value\neps_change,2.0"}'
PASS  ungrounded=0  flipped=0  note=  receipt=5dbac4221dea

$ mcp audit_backtest_and_trades '{"claimed":{"sharpe_ann":1.73}}'
FAIL  ungrounded=0  flipped=0  note=MISSING_TRADE_LOG  receipt=af75013175b1

$ mcp audit_backtest_and_trades '{"claimed":{"sharpe_ann":1.73},"trades":[{"pnl":0.0}],"daily_returns":[0.01,-0.008,0.01,-0.008,0.01,-0.008,0.01,-0.008,0.01,-0.008,0.01,-0.008,0.01,-0.008,0.01,-0.008,0.01,-0.008,0.01,-0.008,0.01,-0.008,0.01,-0.008,0.01,-0.008,0.01,-0.008,0.01,-0.008]}'
PASS  ungrounded=0  flipped=0  note=  receipt=91aa096a51d0
```

`mcp` is a one-line shell helper:

```bash
mcp() { curl -sS https://api.memo7.app/mcp -H 'content-type: application/json' \
  -d "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/call\",\"params\":{\"name\":\"$1\",\"arguments\":$2}}" \
  | jq -r '.result.content[0].text | fromjson |
    "\(.status)  ungrounded=\(.ungrounded_count // 0)  flipped=\(.flipped // 0)  note=\(.findings[0].code // "")  receipt=\(.receipt_sha256[0:12])"'; }
```

The FAIL lines are the catch. The PASS lines are the fix. Every receipt is SHA-256 over the response body, and a failed check blocks publication.

## Connect in one paste

Origin: `https://api.memo7.app/mcp`

### Cursor

`.cursor/mcp.json`

```json
{
  "mcpServers": {
    "memo7-anaphero": {
      "url": "https://api.memo7.app/mcp"
    }
  }
}
```

### Claude Desktop

`claude_desktop_config.json`

```json
{
  "mcpServers": {
    "memo7-anaphero": {
      "type": "http",
      "url": "https://api.memo7.app/mcp"
    }
  }
}
```

### Claude Code

```bash
claude mcp add --transport http memo7-anaphero https://api.memo7.app/mcp -s user
```

### Smithery

Remote HTTP is the fastest path. Paste `https://api.memo7.app/mcp` in the Smithery server form, or run the stdio proxy:

```json
{
  "mcpServers": {
    "memo7-anaphero": {
      "command": "npx",
      "args": ["-y", "@memo7/anaphero-mcp"]
    }
  }
}
```

### Glama

Paste `https://api.memo7.app/mcp` as the remote server. The registry card lives in [`glama.json`](glama.json).

```json
{
  "mcpServers": {
    "memo7-anaphero": {
      "url": "https://api.memo7.app/mcp"
    }
  }
}
```

### REST API

```bash
# List tools
curl -sS https://api.memo7.app/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

# Verify a numeral
curl -sS https://api.memo7.app/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"verify_document_numerals","arguments":{"document_text":"Q3 EPS was 1.849.","source_data":"metric,value\neps_actual,1.84"}}}'
```

Free shared quota: **20 requests / hour** and **100 / day** per IP. No API key required. Pro live memos can forward `MEMO7_API_KEY` as `X-API-Key`. Need a fixed SLA or unlimited throughput? [Get in Touch](https://memo7.app/contact).

## What it catches

| Tool | Catches | Verdict |
| --- | --- | --- |
| `verify_document_numerals` | Invented EPS, revenue, yields, basis points, percentages | PASS / FAIL with lineage and SHA-256 |
| `verify_directional_claims` | Flipped direction: prose says rose, signed data says fell | PASS / FAIL with the contradicting sentence |
| `audit_ai_stylometry` | Clichés and machine cadence before publish | `publish_ready` true or false |
| `audit_backtest_and_trades` | Unverified Sharpe, PnL, drawdown, lookahead timestamps | Recomputed metrics and findings |
| `verify_options_payoff` | Put-call parity, breakevens, max gain / loss, Greek signs | PASS / FAIL |
| `get_latest_memo` / `get_calendar` | Live macro and earnings context | Verified memo and merged calendar |
| `verify_report` | Report receipt and SHA-256 provenance | Receipt or latest memo |

## Deterministic stack for markets and research

- **No hallucinated numeral survives publication.** Every figure is matched to a source cell with rounding, tolerance, and an anti-vacuity precision rule.
- **No flipped claim survives publication.** The prose direction is compared with the signed source value.
- **No invented backtest survives publication.** Claimed Sharpe, PnL, and drawdown are recomputed from the caller's log.
- **No model in the trust path.** The verification path is deterministic and returns a receipt.
- **Fail closed.** On `FAIL`, do not publish.

### Tool pages

- [MEMO7 Anaphero](https://memo7.app/anaphero)
- [API docs](https://memo7.app/api-docs)
- [Numerals](https://memo7.app/verify)
- [Claims](https://memo7.app/mcp/claims)
- [Stylometry](https://memo7.app/mcp/stylometry)
- [Market](https://memo7.app/mcp/market)
- [Backtest](https://memo7.app/mcp/backtest)
- [Options](https://memo7.app/mcp/options)

## Security

Never send binary. Convert XLSX, Parquet, PDF, and DOCX to CSV or UTF-8 text on the client. The verifier accepts CSV, TSV, JSON, Markdown tables, and HTML tables.

## Scope of this repository

This public wrapper is intentionally thin:

- `src/proxy.mjs` – stdio JSON-RPC proxy to `https://api.memo7.app/mcp`
- `package.json`, `server.json`, `smithery.yaml`, `glama.json`, `.cursor-plugin/plugin.json`, `mcp.json` – registry and client cards
- `README.md`, `LICENSE`, `NOTICE` – documentation and MIT terms

It contains no private models, no thresholds, no proprietary scoring code, and no `src/memo7` files. The hosted service owns the verification logic.

## License

MIT