mcpField
S
stock-grades

stock-grades

github.com/octagonaiData & databases130253 installsUpdated 21w ago
Repository

About stock-grades

stock-grades is a skill for retrieving analyst ratings and rating changes for public companies through Octagon MCP. It helps users review rating histories and shifts in analyst sentiment.

Key features

  1. 01Analyst grades and ratings
  2. 02Upgrade and downgrade history
  3. 03Rating source and issue date
  4. 04Guidance for interpreting rating trends

Use cases

  1. 01Check current ratings for a stock
  2. 02Track recent upgrades and downgrades
  3. 03Review historical analyst sentiment

MCP support

The skill uses the Octagon MCP server’s `octagon-agent` tool to query stock grades with a natural-language prompt. It requires Octagon MCP to be configured in the AI agent.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/octagonai/skills --skill stock-grades

After installing, type/stock-gradesin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

marketplace.json
README.md
references/
interpreting-results.md
mcp-setup.md

Details

From the project README

Stock Grades

Retrieve analyst grades, ratings, and rating changes from top financial institutions using the Octagon MCP server.

Prerequisites

Ensure Octagon MCP is configured in your AI agent (Cursor, Claude Desktop, Windsurf, etc.). See references/mcp-setup.md for installation instructions.

Workflow

1. Identify the Stock

Determine the ticker symbol for the company you want to analyze (e.g., AAPL, MSFT, GOOGL).

2. Execute Query via Octagon MCP

Use the octagon-agent tool with a natural language prompt:

Get the latest stock grades for the symbol <TICKER> from top analysts and financial institutions.

MCP Call Format:

{
  "server": "octagon-mcp",
  "toolName": "octagon-agent",
  "arguments": {
    "prompt": "Get the latest stock grades for the symbol AAPL from top analysts and financial institutions."
  }
}
3. Expected Output

The agent returns analyst rating history including:

  • Rating Actions: Upgrades, downgrades, maintains
  • Analyst/Institution: Source of the rating
  • Previous Rating: Prior grade
  • New Rating: Current grade
  • Date: When the rating was issued

Example: Maxim Group upgraded from Hold to Buy on 2026-01-30

Data Sources: octagon-stock-data-agent

4. Interpret Results

See references/interpreting-results.md for guidance on:

  • Understanding rating scales
  • Analyzing upgrade/downgrade trends
  • Evaluating analyst credibility
  • Tracking sentiment changes

Example Queries

Basic Query:

Get the latest stock grades for the symbol AAPL from top analysts and financial institutions.

Recent Changes:

What are the most recent analyst rating changes for TSLA?

Upgrade Focus:

Show me recent upgrades for NVDA from major investment banks.

Historical View:

What is the history of analyst ratings for MSFT over the past year?

Specific Institution:

What is Goldman Sachs' current rating on AMZN?

Understanding Rating Scales

Common Rating Systems
Rating LevelCommon Terms
Strong BuyBuy, Overweight, Outperform
BuyAccumulate, Add, Positive
HoldNeutral, Market Perform, Equal-Weight
SellUnderweight, Underperform, Reduce
Strong SellSell, Avoid
Rating Equivalencies
Bank ABank BBank CMeaning
OverweightBuyOutperformBullish
Equal-WeightHoldMarket PerformNeutral
UnderweightSellUnderperformBearish

Rating Actions

Action Types
ActionDescription
UpgradeRating improved (e.g., Hold → Buy)
DowngradeRating lowered (e.g., Buy → Hold)
MaintainRating unchanged (reaffirmed)
InitiateNew coverage started
ReiterateRating repeated with emphasis
ResumeCoverage restarted
SuspendCoverage temporarily halted
Significance Ranking
ActionImpact
Upgrade from SellHighest positive
Upgrade from HoldSignificant positive
Initiate at BuyPositive
Maintain at BuyStable positive
Downgrade to HoldNegative signal
Downgrade to SellHighest negative

Analyst Credibility

Factors to Consider
FactorDescription
Track RecordHistorical accuracy
Institution TierMajor bank vs. boutique
Sector ExpertiseSpecialization
Coverage LengthExperience with stock
IndependenceConflicts of interest
Institution Tiers
TierExamples
Bulge BracketGoldman Sachs, Morgan Stanley, JPMorgan
Major BanksBank of America, Citi, UBS
BoutiquesWedbush, Piper Sandler, Needham
IndependentMorningstar, CFRA

Trend Analysis

Sentiment Indicators
PatternInterpretation
Multiple upgradesImproving sentiment
Multiple downgradesDeteriorating outlook
Mixed actionsUncertainty/debate
All maintainsStable consensus
Momentum Signals
SignalMeaning
Upgrade clusterCatalyst or breakout
Downgrade clusterConcerns emerging
Initiation waveGrowing interest
Coverage dropsReduced attention

Rating Distribution

Consensus Rating
DistributionInterpretation
Mostly BuyStrong bullish consensus
Mostly HoldNeutral/wait-and-see
Mostly SellBearish consensus
MixedDivergent views
Rating Counts
MetricWhat It Shows
Buy %Bullish proportion
Hold %Neutral proportion
Sell %Bearish proportion
Total AnalystsCoverage level

Timing Considerations

When Ratings Change
CatalystTypical Timing
EarningsDay of or day after
GuidanceWithin 24-48 hours
Product NewsSame day
Macro EventsAs needed
Sector RotationPeriodic
Staleness
AgeReliability
<1 monthCurrent view
1-3 monthsReasonably current
3-6 monthsMay be outdated
>6 monthsLikely stale

Common Use Cases

Sentiment Check
What is the current analyst sentiment on AAPL?
Change Monitoring
Have any analysts upgraded or downgraded TSLA recently?
Catalyst Research
Why did analysts upgrade NVDA last week?
Consensus View
What percentage of analysts rate MSFT as a buy?
Historical Tracking
How has analyst sentiment on META changed over the past year?

Analysis Tips

  1. Weight by institution: Major banks carry more weight.

  2. Track changes, not just ratings: Upgrades/downgrades signal shifts.

  3. Consider timing: Post-earnings ratings are most current.

  4. Look for clusters: Multiple changes = significant.

  5. Check track record: Some analysts are more accurate.

  6. Combine with targets: Rating + price target = complete view.

Integration with Other Skills

SkillCombined Use
price-target-consensusRatings + price targets
analyst-estimatesRatings + earnings expectations
stock-quoteRating changes + price reaction
stock-performanceHistorical ratings vs. performance

Comments

Markdown supported