Skip to main content
Glama
deepvalues-mcp

deepvalues-mcp

by IvyFan19
README.md
# deepvalues-mcp

A local stdio [MCP](https://modelcontextprotocol.io) server for the
[DeepValues API](https://app.deepvalues.ai/developers): what Buffett and 80+ tracked
investors hold (13F), intrinsic value, fundamentals, SEC filings, value-investor
sentiment, the Buffett Indicator, and a drop-in AI grounding block for any US stock.

It fronts the hosted endpoint `https://app.deepvalues.ai/api/mcp`, so the tool list,
prices and payment flow always match the server. Use it when your host speaks stdio
only. Hosts that speak streamable HTTP can point at the hosted URL directly.

## Use

**Claude Desktop / Cursor / Zed** (stdio):

```json
{
  "mcpServers": {
    "deepvalues": {
      "command": "npx",
      "args": ["-y", "deepvalues-mcp"],
      "env": { "DEEPVALUES_API_KEY": "dv_sk_live_…" }
    }
  }
}
```

Leave `env` out to run keyless: 25 calls a day per IP, 5 on each $0.005 tool, 1 on
`ai_context`. The `keys_create` tool mints a key with no account; an email gives a live
key with 1 starter credit.

**Claude Code** (hosted, no install):

```bash
claude mcp add --transport http deepvalues https://app.deepvalues.ai/api/mcp
```

## Tools

`ai_context` (everything about one company, for grounding), `intrinsic_value`,
`smart_money_holdings`, `smart_money_changes`, `guru_moves`, `verdict`, `mirror_brief`,
`gurus`, `guru`, `guru_portfolio`, `theses`, `fundamentals`, `company_overview`,
`companies_search`, `filings`, `news`, `sentiment`, `indicators_buffett`,
`indicators_shiller_pe`, `research` (3 credits, keyed), plus `keys_create`, `keys_me`,
`pricing`, `credits_checkout`. Prices are decimal credits, 1 credit = $1; most reads cost
0.001 or 0.005. A 402 carries a Stripe checkout link (and an x402 USDC quote when that
rail is on); a 429 lists remedies.

## Develop

```bash
npm install && npm run build && npm run smoke
```

Env: `DEEPVALUES_API_KEY` (optional), `DEEPVALUES_MCP_URL` (default the hosted endpoint).

MIT. Data is for research; nothing here is investment advice.

TDQS

B3.4/5.0

Scored across 30 tools

Disambiguation3/5

Several clusters overlap heavily: brief / research / intrinsic_value / mirror_brief / verdict / ai_context all return valuation-flavoured output for a ticker, and gurus / guru / guru_portfolio / guru_moves / smart_money_holdings / smart_money_changes split the same 13F universe six ways. account and keys_me both report the calling key and usage, which invites misselection. The verbose descriptions do draw the distinctions (brief = computed at call time vs research = written briefing; verdict = one move, mirror_brief = flattened pair), so an agent can recover, but only after reading long text.

Naming Consistency4/5

Everything is snake_case with no style drift, and prefix namespacing is used consistently for families (keys_*, credits_*, indicators_*, companies_*, smart_money_*, guru_*). The deviation is that some names are bare resources (research, brief, verdict, account, gurus, theses) while siblings carry a noun/verb suffix, and verb placement varies (keys_create vs companies_search vs company_overview). Readable and predictable overall, just not a single uniform pattern.

Tool Count3/5

30 tools is above the comfortable band and the surface is visibly splintered — six guru/13F endpoints and six valuation endpoints could each collapse into two or three. The underlying API is genuinely broad (data, billing, identity, indicators, gurus), so the count is not absurd, but it is heavier than the domain requires and pushes prompt-surface cost onto the caller.

Completeness3/5

Read coverage of the value-investing domain is strong: fundamentals, as-filed history, filings, valuations, briefs, guru/13F data, theses, macro indicators, news and sentiment, plus key and billing lifecycle. But write/lifecycle gaps are real: webhooks_list exists with no create/update/delete, there is no way to revoke a key, and research explicitly cannot start a fresh run (404 when none exists). These are dead ends an agent will hit.