# WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP

> WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP is a free MCP server for legal and government. Free SEC EDGAR tool comparing stock buybacks, SBC and diluted share counts for U.S. stocks. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API, CLI, Web, Self-hosted
- **Website:** https://weightedshares.com
- **Repository:** https://github.com/123mason123/weightedshares-mcp
- **MCP Registry name:** io.github.123mason123/weightedshares-mcp
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government), [finance and payments](https://ai-powered.com/categories/finance-and-payments), [financial data](https://ai-powered.com/categories/financial-data)
- **Listing updated:** 2026-11-27

## About

WeightedShares exposes SEC EDGAR XBRL filings for U.S. public companies as structured data that an AI assistant can query. Instead of reading raw 10-K tables, a client can ask for a company's buybacks, stock-based compensation, RSU tax withholdings and split-adjusted diluted share count over a chosen window, with each figure tied to its filing.

The server separates cover-page shares outstanding from weighted-average diluted shares and reports SBC-adjusted free cash flow next to standard free cash flow. Financial firms and REITs are handled under separate rules so that industrial cash-flow formulas are not applied to banks. Responses also cover head-to-head comparisons, prebuilt screens and 13F portfolio audits.

The endpoint is hosted and needs no API key or local install, which suits analysts, researchers and developers who want filing-linked equity data inside Claude, Cursor or another MCP client.

## Features

- **Buyback and SBC audit:** Shows cash repurchases, stock-based compensation and RSU tax withholdings for a ticker across 3, 5, 10 or maximum-year windows.
- **Diluted share history:** Tracks split-adjusted weighted-average diluted shares separately from cover-page shares outstanding.
- **SBC-adjusted free cash flow:** Calculates free cash flow after subtracting stock-based compensation alongside the standard figure.
- **Company comparisons:** Compares two U.S. issuers over a chosen lookback period on buybacks and dilution.
- **Prebuilt SEC screens:** Returns ranked lists such as buyback shrinkers, negative SBC-adjusted FCF and hidden RSU withholding outflows.
- **Superinvestor 13F audits:** Audits named investors' latest 13F-HR equity portfolios for share drift and SBC intensity.
- **Filing-linked provenance:** Each returned metric includes its SEC form type, filing date and link to the underlying filing.

## Good for

- Checking whether a company's buybacks actually reduced its diluted share count after SBC
- Comparing two large-cap stocks on five-year dilution and capital returns
- Screening for companies whose free cash flow turns negative once SBC is deducted
- Auditing the equity portfolio of a 13F filer for share dilution
- Pulling SEC-linked figures into a research note or dashboard

## Install

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

```sh
claude mcp add --transport http weightedshares-mcp https://weightedshares.com/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": {
    "weightedshares-mcp": {
      "type": "http",
      "url": "https://weightedshares.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://weightedshares.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "weightedshares-mcp": {
      "url": "https://weightedshares.com/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "weightedshares-mcp": {
      "type": "http",
      "url": "https://weightedshares.com/mcp"
    }
  }
}
```

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

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://weightedshares.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

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

```sh
codex mcp add weightedshares-mcp --url https://weightedshares.com/mcp
```

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

```toml
[mcp_servers.weightedshares-mcp]
url = "https://weightedshares.com/mcp"
```

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

```json
{
  "mcpServers": {
    "weightedshares-mcp": {
      "httpUrl": "https://weightedshares.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http weightedshares-mcp https://weightedshares.com/mcp

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

```json
{
  "mcpServers": {
    "weightedshares-mcp": {
      "serverUrl": "https://weightedshares.com/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "weightedshares-mcp": {
      "url": "https://weightedshares.com/mcp",
      "transport": "http"
    }
  }
}
```

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": {
    "weightedshares-mcp": {
      "type": "streamableHttp",
      "url": "https://weightedshares.com/mcp"
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "weightedshares-mcp": {
      "url": "https://weightedshares.com/mcp"
    }
  }
}
```

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": {
    "weightedshares-mcp": {
      "url": "https://weightedshares.com/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "weightedshares-mcp": {
      "url": "https://weightedshares.com/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "weightedshares-mcp": {
      "url": "https://weightedshares.com/mcp"
    }
  }
}
```

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

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://weightedshares.com/mcp
```

Enter a Name (for example "WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

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

```json
{
  "mcpServers": {
    "weightedshares-mcp": {
      "type": "http",
      "url": "https://weightedshares.com/mcp"
    }
  }
}
```

## Tools

The server marks all 5 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `get_company_buybacks_sbc` (says read-only): Retrieve SEC EDGAR XBRL-backed Buybacks vs. Stock-Based Compensation (SBC), RSU tax withholdings, Standard FCF, SBC-Adjusted FCF (FCF minus SBC), cover-page shares vs. weighted-average diluted shares, per-metric filing provenance, split-basis mismatch flags, and anti-dilutive context for any of 10,400+ U.S. public companies.
- `compare_companies_dilution` (says read-only): Compare two U.S. public companies head-to-head on SEC EDGAR 10-K buybacks, stock-based compensation (SBC), RSU tax withholdings, SBC-Adjusted FCF (FCF minus SBC), per-metric filing provenance, and diluted share-count change.
- `get_sec_screen` (says read-only): Query WeightedShares quantitative SEC EDGAR screens across flagship U.S. companies: true share cannibals, largest buyback programs, heavy SBC diluters, negative SBC-adjusted FCF (excluding banks/insurers/REITs), RSU tax withholding financing outflows, or 12M Form 4 insider selling vs. buybacks.
- `get_superinvestor_dilution` (says read-only): Audit a legendary superinvestor's latest SEC Form 13F-HR (including 13F-NT notice manager attribution via otherManager sequence) U.S. equity holdings for weighted diluted share drift, SBC % of revenue, and SBC-Adjusted FCF margins with both top-N subset weights and reported 13F portfolio share. Pass slug='list' to enumerate all available superinvestors.
- `search_sec_companies` (says read-only): Search across 10,400+ SEC EDGAR-registered U.S. public companies by ticker or company name.

## FAQ

### Does the server require an API key?

No. The hosted endpoint at weightedshares.com/mcp needs no authentication and is limited to 30 requests per minute per IP.

### Which tools does the server provide?

Five read-only tools: get_company_buybacks_sbc, compare_companies_dilution, get_sec_screen, get_superinvestor_dilution and search_sec_companies.

### How does WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP handle banks and REITs?

Balance-sheet financials and REITs suppress industrial free cash flow figures and are excluded from the True FCF trap screens.

### Is the server open source?

The repository's configuration templates and smoke test scripts are MIT licensed; the hosted data service is provided by WeightedShares.

### Is WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP free?

Yes. WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP is free to use.

### How do I add WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http weightedshares-mcp https://weightedshares.com/mcp

### What are the best alternatives to WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP?

The closest alternatives to WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP are SEC EDGAR 10-K/10-Q Financials & XBRL MCP, Slacking.biz — SEC Financial Data + US Economics + Demographics + FX, SEC EDGAR, SEC EDGAR and US Company Financials (SEC XBRL) MCP.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [SEC EDGAR 10-K/10-Q Financials & XBRL MCP](https://ai-powered.com/mcp/sec-edgar-10-k-10-q-financials-and-xbrl-mcp): SEC EDGAR 10-K/10-Q Financials & XBRL MCP is a freemium MCP server for legal and government.
- [Slacking.biz — SEC Financial Data + US Economics + Demographics + FX](https://ai-powered.com/mcp/slacking-biz-sec-financial-data-us-economics-demographics-fx): Slacking.biz — SEC Financial Data + US Economics + Demographics + FX is a freemium MCP server for finance and payments.
- [SEC EDGAR](https://ai-powered.com/mcp/sec-edgar-2): SEC EDGAR is an open-source MCP server for legal and government.
- [SEC EDGAR](https://ai-powered.com/mcp/sec-edgar-3): SEC EDGAR is a freemium MCP server for legal and government.
- [US Company Financials (SEC XBRL) MCP](https://ai-powered.com/mcp/us-company-financials-sec-xbrl-mcp): US Company Financials (SEC XBRL) MCP is a freemium MCP server for finance and payments.
- [SEC EDGAR Financials](https://ai-powered.com/mcp/sec-edgar-financials): SEC EDGAR Financials is a freemium MCP server for legal and government.
- [AgentDiet SEC EDGAR Public Company 10-K/10-Q Financial Intelligence](https://ai-powered.com/mcp/agentdiet-sec-edgar-public-company-10-k-10-q-financial-intel): AgentDiet SEC EDGAR Public Company 10-K/10-Q Financial Intelligence is an MCP server for finance and payments.
- [SEC EDGAR Filings & Financials Monitor + MCP](https://ai-powered.com/mcp/sec-edgar-filings-and-financials-monitor-mcp): SEC EDGAR Filings & Financials Monitor + MCP is a freemium MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/weightedshares-sec-edgar-buybacks-vs-sbc-and-dilution-mcp
