# SentimentFX

> FinBERT news sentiment and price history for 42 crypto, FX, stock, ETF and commodity tickers.

- name: org.sentimentfx/market-sentiment
- version: 1.0.0
- connection class: R1 (autonomous)
- trust: 93/100
- quality: 79/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/org.sentimentfx%2Fmarket-sentiment
- tools: https://api.protogrid.dev/v1/servers/org.sentimentfx%2Fmarket-sentiment/tools

**An agent can connect on its own if it already holds `X_API_KEY`, `X_API_KEY`.** Remote endpoint behind a static API key or header. The registry never sees the value; the agent fills the placeholder.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "market-sentiment": {
      "type": "http",
      "url": "https://api.sentimentfx.org/mcp",
      "headers": {
        "X-API-Key": "${X_API_KEY}",
        "Authorization": "${X_API_KEY}"
      }
    }
  }
}
```

Placeholders to fill: `${X_API_KEY}`, `${X_API_KEY}`.

## Trust

- hygiene: 100
- liveness: 100
- freshness: 85
- provenance: 85
- drivers: +repository +dns-namespace +website +reachable +uptime-100% ~updated-45d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 79/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 71 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: list_tickers (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_summary (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_prices (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 907 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: 1 tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 6, about 907 tokens to load them all
- tool set hash: 5ac0a5751ca57108d3230087ca9ecd74
- tools last changed: 2026-10-12T03:59:54.908Z
- badge: [![protogrid quality](https://protogrid.dev/badge/org.sentimentfx/market-sentiment.svg)](https://protogrid.dev/servers/org.sentimentfx/market-sentiment)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

- 2026-10-12 `get_usage` changed (description)
  - before: Introspect your API key: calls used this month, included allowance, remaining credits, and when the counter resets. Free — doesn't hit the billing meter. Mirrors `GET /v1/usage` (MCP_MIRRORS_V1: change both together). Useful before a large batch of `get_sentiment`/`get_summary` calls to check you have credit headroom.
  - after: Introspect your API key: included allowance, remaining credits, and when they refill. Free keys get 1,000 calls per 30-day window starting at their first billable call (`resets_at` is null when no window is running); paid plans refill on the 1st of each month. Free — doesn't hit the billing meter. Useful before a large batch of `get_sentiment`/`get_summary` calls to check you have credit headroom.

Full history: https://api.protogrid.dev/v1/servers/org.sentimentfx%2Fmarket-sentiment/changes

## Remotes

- https://api.sentimentfx.org/mcp (streamable-http, auth api_key ${X_API_KEY}, reachable true, uptime30d 1)

## Packages

_none_

## Tools (6)

- `get_correlation`: 180-day Pearson correlation between daily sentiment shifts and next-day
    price returns for `ticker`.

    Returns Pearson `r`, `p_value`, `n_days` overlapping, a 95% confidence
    interval (Fisher z), and a categorical `strength` (strong / weak /
    inconclusive).  Costs 1 API credit — same as GET /v1/correlation/{ticker}.

    Requires ≥30 overlapping day-pairs.  Under that, returns a `note` field
    explaining what's missing so a caller can suggest waiting or switching
    to a higher-coverage ticker.
    
- `get_prices`: Return daily close prices for `ticker` over the last `days`, in the
    ticker's native currency -- see the `currency` field on the response.

    Costs 1 API credit per day actually returned — same as
    GET /v1/prices/{ticker}.  Prices come
    back reverse-chronological.  Crypto is GBP (yfinance BTC-GBP etc.), FX
    pairs are a raw exchange rate in the pair's native convention (e.g.
    USDJPY is yen per dollar), and everything else (stocks/ETFs/commodity
    futures) is native USD -- there is no currency conversion.
    
- `get_sentiment`: Return the most recent FinBERT-scored headlines for `ticker`.

    Each headline has a `sentiment_score` in [-1, +1] (positive_prob -
    negative_prob) and a categorical `sentiment_label`.  Costs 1 API credit
    per 25 headlines actually returned — same billing as
    GET /v1/sentiment/{ticker}.  An empty result costs nothing.

    `limit` is capped at 100.  Titles come back reverse-chronological so the
    first item is the freshest.
    
- `get_summary`: Return daily aggregated sentiment for `ticker` over the last `days`.

    Each entry has `avg_sentiment` (unweighted mean of that day's scores),
    `article_count`, and a directional `label` (positive / negative /
    neutral, thresholded at ±0.1).  Costs 1 API credit per day actually
    returned — same as GET /v1/summary/{ticker}.  A window with no coverage
    costs nothing.
    
- `get_usage`: Introspect your API key: included allowance, remaining credits, and
    when they refill.

    Free keys get 1,000 calls per 30-day window starting at their first
    billable call (`resets_at` is null when no window is running); paid plans
    refill on the 1st of each month.  Free — doesn't hit the billing meter.
    Useful before a large batch of `get_sentiment`/`get_summary` calls to check
    you have credit headroom.
    
- `list_tickers`: List every asset SentimentFX tracks.

    Cheap (free — doesn't hit the billing meter).  Returns two groups:
    `primary` (5 crypto + 7 FX pairs — the ones with full sentiment coverage
    across the primary RSS feeds), and `background` (US equities, ETFs,
    commodity futures — coverage is thinner but real).  Use the exact ticker
    string from either group as the `ticker` arg to the other tools.
    
