mcpField
F
finance-sentiment

finance-sentiment

github.com/himself65Data & databases3.5k1.6k installsUpdated 3d ago
Repository

About finance-sentiment

finance-sentiment fetches structured stock sentiment from the Adanos Finance API for financial research. It provides normalized signals across Reddit, X.com, news, and Polymarket, including comparisons between tickers and sources.

Key features

  1. 01Fetch sentiment by source
  2. 02Compare multiple tickers in one request
  3. 03Retrieve buzz, bullish share, volume, and trend
  4. 04Combine signals across Reddit, X.com, news, and Polymarket
  5. 05Use expanded stock details on request

Use cases

  1. 01Compare Reddit sentiment for several stocks
  2. 02Check whether Reddit and X.com signals align
  3. 03Review a cross-source sentiment snapshot

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/himself65/finance-skills --skill finance-sentiment

After installing, type/finance-sentimentin Claude Code to confirm it loaded.

Bundled filesREADME.mdreferences/api_reference.md

Details

From the project README

Finance Sentiment Skill

If your host has not already executed the shell probes below (for example, in Codex), run the commands inside the ! wrappers with its shell tool before choosing a setup path. Use the actual output; if shell access is unavailable, report that limitation.

Fetches structured stock sentiment from the Adanos Finance API.

This skill is read-only. It is designed for research questions that are easier to answer with normalized sentiment signals than with raw social feeds.

Use it when the user wants:

  • cross-source stock sentiment
  • Reddit/X.com/news/Polymarket comparisons
  • buzz, bullish percentage, mentions, trades, or trend
  • a quick answer to "what is the market talking about?"

Step 1: Ensure the API Key Is Available

Current environment status:

!`python3 - <<'PY'
import os
print("ADANOS_API_KEY_SET" if os.getenv("ADANOS_API_KEY") else "ADANOS_API_KEY_MISSING")
PY`

If ADANOS_API_KEY_MISSING, ask the user to set:

export ADANOS_API_KEY="sk_live_..."

Use the key via the X-API-Key header on all requests.

Base docs:

https://api.adanos.org/docs

Step 2: Identify What the User Needs

Match the request to the lightest endpoint that answers it.

User RequestEndpoint PatternNotes
"How much are Reddit users talking about TSLA?"/reddit/stocks/v1/compareUse mentions, buzz_score, bullish_pct, trend
"How hot is NVDA on X.com?"/x/stocks/v1/compareUse mentions, buzz_score, bullish_pct, trend
"How many Polymarket bets are active on Microsoft?"/polymarket/stocks/v1/compareUse trade_count, buzz_score, bullish_pct, trend
"Compare sentiment on AMD vs NVDA"compare endpoints for the requested sourcesBatch tickers in one request
"Is Reddit aligned with X on META?"Reddit compare + X compareCompare bullish_pct, buzz_score, trend
"Give me a full sentiment snapshot for TSLA"compare endpoints across Reddit, X.com, news, PolymarketSynthesize cross-source view
"Go deeper on one ticker"/stock/{ticker} detail endpointUse only when the user asks for expanded detail

Default lookback:

  • use days=7 unless the user asks for another window

Ticker count:

  • use compare endpoints for 1..10 tickers

Step 3: Execute the Request

Use curl with X-API-Key. Prefer compare endpoints because they are compact and batch-friendly.

Single-source examples
curl -s "https://api.adanos.org/reddit/stocks/v1/compare?tickers=TSLA&days=7" \
  -H "X-API-Key: $ADANOS_API_KEY"
curl -s "https://api.adanos.org/x/stocks/v1/compare?tickers=NVDA&days=7" \
  -H "X-API-Key: $ADANOS_API_KEY"
curl -s "https://api.adanos.org/polymarket/stocks/v1/compare?tickers=MSFT&days=7" \
  -H "X-API-Key: $ADANOS_API_KEY"
Multi-source snapshot for one ticker
curl -s "https://api.adanos.org/reddit/stocks/v1/compare?tickers=TSLA&days=7" -H "X-API-Key: $ADANOS_API_KEY"
curl -s "https://api.adanos.org/x/stocks/v1/compare?tickers=TSLA&days=7" -H "X-API-Key: $ADANOS_API_KEY"
curl -s "https://api.adanos.org/news/stocks/v1/compare?tickers=TSLA&days=7" -H "X-API-Key: $ADANOS_API_KEY"
curl -s "https://api.adanos.org/polymarket/stocks/v1/compare?tickers=TSLA&days=7" -H "X-API-Key: $ADANOS_API_KEY"
Multi-ticker comparison
curl -s "https://api.adanos.org/reddit/stocks/v1/compare?tickers=AMD,NVDA,META&days=7" \
  -H "X-API-Key: $ADANOS_API_KEY"
Key rules
  1. Prefer compare endpoints over stock detail endpoints for quick research.
  2. Use only the sources needed to answer the question.
  3. For Reddit, X.com, and news, the volume field is mentions.
  4. For Polymarket, the activity field is trade_count.
  5. Treat missing source data as "no data", not bearish or neutral.
  6. Never execute trades or convert the result into trading instructions.

Step 4: Present the Results

When reporting a single source, prioritize exactly these fields:

  • Buzz
  • Bullish %
  • Mentions or Trades
  • Trend

Example:

TSLA on Reddit, last 7 days
- Buzz: 74.1/100
- Bullish: 31%
- Mentions: 647
- Trend: rising

When reporting multiple sources for one ticker:

  • show one block per source
  • then add a short synthesis:
    • aligned bullish
    • aligned bearish
    • mixed / diverging

When comparing multiple tickers:

  • rank by the metric the user cares about
  • default to buzz_score
  • call out large gaps in bullish_pct or trend

Do not overstate precision. These are research signals, not trade instructions.


Reference Files

  • references/api_reference.md - endpoint guide, field meanings, and example workflows

Read the reference file when you need the exact field names, query parameters, or recommended answer patterns.

Comments

Markdown supported