# Stock Sentinel

> Stock Sentinel is a freemium MCP server for finance and payments. US stock attack or defense macro signals from a four-dimension framework; research only. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** CLI, API
- **Repository:** https://github.com/sheldonzhuang/stocksentinel
- **MCP Registry name:** io.github.SheldonZhuang/stock-sentinel
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-11-23

## About

Stock Sentinel does not pick stocks. It answers whether the current moment favours attack or defense for US equities, using a four-level signal: Attack, Watch, Reduce and Defense. Four dimensions feed it: AI supply and demand (model usage on OpenRouter, cloud capex from SEC EDGAR, semiconductor output from FRED), monetary policy from FOMC statements, fiscal policy from federal spending, and executive policy from trade-policy uncertainty and oil prices.

Attack needs the AI dimension loose and no other dimension tightening, plus vetoes for yield-curve inversion, wide credit spreads and high real rates, while defense triggers more readily. Locks such as the Sahm rule and large rate moves force full defense. Data refreshes daily at 21:00 US Eastern, with event-driven updates on FOMC and monthly releases.

The README describes a public track record and a backtest over 26 years, an open REST API, an MCP server with 8 tools, a Claude skill and a company research agent covering eight AI-chain firms with cited notes from SEC filings. All output carries a research-only disclaimer. Without a key the trial allows 25 requests a day.

## Features

- **Four-level signal:** Attack, Watch, Reduce or Defense for US stocks.
- **Four-dimension framework:** AI supply and demand, monetary, fiscal and executive policy.
- **Public track record:** Daily signal history and backtest results are published.
- **Open API and MCP:** REST API plus an MCP server with 8 tools.
- **Company research notes:** Cited quarterly notes for eight AI-chain companies.
- **Email alerts:** Level changes and warnings are emailed to subscribers.

## Good for

- Check whether macro conditions favour attack or defense
- Review how the signal behaved in past crises
- Read a cited research note on a chip or cloud company
- Add a macro regime check to a research agent

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add stock-sentinel --env STOCKSENTINEL_API_KEY='<STOCKSENTINEL_API_KEY>' -- npx -y stock-sentinel-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "stock-sentinel": {
      "command": "npx",
      "args": [
        "-y",
        "stock-sentinel-mcp"
      ],
      "env": {
        "STOCKSENTINEL_API_KEY": "<STOCKSENTINEL_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "stock-sentinel": {
      "command": "npx",
      "args": [
        "-y",
        "stock-sentinel-mcp"
      ],
      "env": {
        "STOCKSENTINEL_API_KEY": "<STOCKSENTINEL_API_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "stock-sentinel": {
      "command": "npx",
      "args": [
        "-y",
        "stock-sentinel-mcp"
      ],
      "env": {
        "STOCKSENTINEL_API_KEY": "<STOCKSENTINEL_API_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "stock-sentinel": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "stock-sentinel-mcp"
      ],
      "env": {
        "STOCKSENTINEL_API_KEY": "<STOCKSENTINEL_API_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add stock-sentinel --env STOCKSENTINEL_API_KEY='<STOCKSENTINEL_API_KEY>' -- npx -y stock-sentinel-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.stock-sentinel]
command = "npx"
args = ["-y", "stock-sentinel-mcp"]
env = { STOCKSENTINEL_API_KEY = "<STOCKSENTINEL_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "stock-sentinel": {
      "command": "npx",
      "args": [
        "-y",
        "stock-sentinel-mcp"
      ],
      "env": {
        "STOCKSENTINEL_API_KEY": "<STOCKSENTINEL_API_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e STOCKSENTINEL_API_KEY='<STOCKSENTINEL_API_KEY>' stock-sentinel npx -- -y stock-sentinel-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "stock-sentinel": {
      "command": "npx",
      "args": [
        "-y",
        "stock-sentinel-mcp"
      ],
      "env": {
        "STOCKSENTINEL_API_KEY": "<STOCKSENTINEL_API_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "stock-sentinel": {
      "command": "npx",
      "args": [
        "-y",
        "stock-sentinel-mcp"
      ],
      "env": {
        "STOCKSENTINEL_API_KEY": "<STOCKSENTINEL_API_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "stock-sentinel": {
      "command": "npx",
      "args": [
        "-y",
        "stock-sentinel-mcp"
      ],
      "env": {
        "STOCKSENTINEL_API_KEY": "<STOCKSENTINEL_API_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "stock-sentinel": {
      "command": "npx",
      "args": [
        "-y",
        "stock-sentinel-mcp"
      ],
      "env": {
        "STOCKSENTINEL_API_KEY": "<STOCKSENTINEL_API_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "stock-sentinel": {
      "command": "npx",
      "args": [
        "-y",
        "stock-sentinel-mcp"
      ],
      "env": {
        "STOCKSENTINEL_API_KEY": "<STOCKSENTINEL_API_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "stock-sentinel": {
      "command": "npx",
      "args": [
        "-y",
        "stock-sentinel-mcp"
      ],
      "env": {
        "STOCKSENTINEL_API_KEY": "<STOCKSENTINEL_API_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "stock-sentinel": {
      "command": "npx",
      "args": [
        "-y",
        "stock-sentinel-mcp"
      ],
      "env": {
        "STOCKSENTINEL_API_KEY": "<STOCKSENTINEL_API_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "stock-sentinel": {
      "command": "npx",
      "args": [
        "-y",
        "stock-sentinel-mcp"
      ],
      "env": {
        "STOCKSENTINEL_API_KEY": "<STOCKSENTINEL_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Does Stock Sentinel give stock picks?

No. It only judges attack or defense timing, and stock selection is left to the user.

### What are the usage limits?

25 requests a day without a key, with higher limits using an API key.

### Is Stock Sentinel investment advice?

No. All outputs say they are for research only.

### What markets are covered?

US stocks only, not real estate.

### Is Stock Sentinel free?

Stock Sentinel has a free plan, with paid plans for more usage or features.

### How do I add Stock Sentinel to Claude Code?

Run this command in your terminal: claude mcp add stock-sentinel --env STOCKSENTINEL_API_KEY='<STOCKSENTINEL_API_KEY>' -- npx -y stock-sentinel-mcp

### What are the best alternatives to Stock Sentinel?

The closest alternatives to Stock Sentinel are Agent-Native Analytics, Solana MCP by Vybe, dashboard-icons, Google Ads + Meta Ads + SEO/GEO MCP and Tapetide - Indian Stock Market MCP.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [dashboard-icons](https://ai-powered.com/mcp/dashboard-icons): dashboard-icons is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Pitot](https://ai-powered.com/mcp/pitot): Pitot is an open-source MCP server for cloud and infrastructure.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/stock-sentinel
