Skip to content
WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP logo
MCP server
RegistryRemote

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

Free SEC EDGAR XBRL data for U.S. stock buybacks, SBC, True FCF, Form 4, and 13F dilution audits.

WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP scores 66 (Good), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It declares 5 tools. Filed under Finance. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by 123mason123MITJavaScript0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "123mason123-weightedshares-mcp": {      "url": "https://weightedshares.com/mcp"    }  }}

Environment variables

This server does not declare environment variables.

Tools5Tool docs quality grade C

All capabilities
  • Head-to-head SEC EDGAR comparison of any two U.S. public companies across 3Y / 5Y / 10Y / Max lookback windows.

  • Audit 3Y / 5Y / 10Y / Max buybacks, SBC expense, RSU tax withholdings, Standard FCF vs. True FCF (FCF − SBC), unrecognized SBC pipeline, cover-page shares vs. diluted weighted-average shares, latest 10-Q YoY trend, and

  • Query any of the 6 live flagship quantitative SEC screens (stock-buyback-companies, stock-buyback-programs, share-dilution, negative-sbc-adjusted-fcf, rsu-tax-withholdings, insider-selling-vs-buybacks).

  • Audit a legendary superinvestor's latest SEC Form 13F-HR U.S. equity portfolio (Warren Buffett, Duan Yongping, Li Lu, Bill Ackman, Philippe Laffont, David Tepper, Stanley Druckenmiller, Cathie Wood, Chris Hohn, Seth Klarm

  • Search across 10,400+ SEC EDGAR-registered U.S. public issuers by ticker or company name.

About

WeightedShares SEC EDGAR MCP Server

MCP Protocol Hosted Endpoint SEC EDGAR Coverage Open Data License Code License: MIT

Official hosted Model Context Protocol (MCP) server manifest (server.json), client configurations, and zero-dependency verification toolkit for WeightedShares.com — a free, SEC EDGAR XBRL-backed Buybacks vs. Stock-Based Compensation (SBC), RSU Tax Withholdings, True FCF (FCF − SBC), Form 4 Insider Selling, and 13F Superinvestor Dilution Radar for U.S. public companies.

Connect Claude Code, Claude Desktop, Cursor, Windsurf, Cline, OpenAI Codex CLI, or any MCP-compatible AI agent directly to deterministic, filing-linked SEC XBRL data across 10,400+ U.S. public companies with zero local installation and no API key required (30 req/min/IP).


Live Terminal & Endpoints


Why Use WeightedShares MCP?

Generic LLMs and web scrapers frequently make silent accounting mistakes on U.S. equity filings — confusing cover-page shares outstanding with diluted weighted-average shares, summing RSU tax withholdings into cash buybacks, misreading split-adjusted historical denominators, or running banks and REITs through industrial FCF formulas.

WeightedShares extracts structured XBRL directly from official SEC EDGAR (10-K, 20-F, 40-F, 10-Q, Form 4, and 13F-HR) with deterministic accounting guardrails and clickable SEC accession links on every returned metric.


Available Read-Only Tools (5)

All 5 tools are read-only, idempotent, require no authentication, and return structured JSON payloads with SEC filing provenance (protocolVersion: 2025-03-26).

  • get_company_buybacks_sbc — Audit 3Y / 5Y / 10Y / Max buybacks, SBC expense, RSU tax withholdings, Standard FCF vs. True FCF (FCF − SBC), unrecognized SBC pipeline, cover-page shares vs. diluted weighted-average shares, latest 10-Q YoY trend, and clickable SEC filing links for any of 10,400+ U.S. tickers.
  • compare_companies_dilution — Head-to-head SEC EDGAR comparison of any two U.S. public companies across 3Y / 5Y / 10Y / Max lookback windows.
  • get_sec_screen — Query any of the 6 live flagship quantitative SEC screens (stock-buyback-companies, stock-buyback-programs, share-dilution, negative-sbc-adjusted-fcf, rsu-tax-withholdings, insider-selling-vs-buybacks).
  • get_superinvestor_dilution — Audit a legendary superinvestor's latest SEC Form 13F-HR U.S. equity portfolio (Warren Buffett, Duan Yongping, Li Lu, Bill Ackman, Philippe Laffont, David Tepper, Stanley Druckenmiller, Cathie Wood, Chris Hohn, Seth Klarman, Terry Smith) for weighted diluted share drift, SBC % of revenue, and True FCF margins. Pass slug="list" to enumerate all 11 portfolios.
  • search_sec_companies — Search across 10,400+ SEC EDGAR-registered U.S. public issuers by ticker or company name.

Tool Parameters Reference

ToolRequired ParamsOptional Params
get_company_buybacks_sbcticker (e.g. "NVDA", "PLTR", "BRK-B")period: "3y" | "5y" | "10y" | "max" (default "5y")
compare_companies_dilutiontickerA, tickerB (e.g. "NVDA", "AMD")period: "3y" | "5y" | "10y" | "max" (default "5y")
get_sec_screenscreen: "stock-buyback-companies" | "stock-buyback-programs" | "share-dilution" | "negative-sbc-adjusted-fcf" | "rsu-tax-withholdings" | "insider-selling-vs-buybacks"limit: 1–50 (default 20)
get_superinvestor_dilutionslug (e.g. "warren-buffett", "li-lu", "duan-yongping", or "list")period: "3y" | "5y" | "10y" | "max" (default "5y")
search_sec_companiesquery (e.g. "palantir", "autozone", "NVDA")limit: 1–20 (default 10)

Example Prompts for Your AI Agent

  • "Audit PLTR's 5-year buybacks vs. SBC, RSU tax withholdings, and True FCF using SEC EDGAR filings, and include the exact 10-K filing links."
  • "Compare NVDA vs. AMD over the last 5 years: who actually shrank diluted share count and how much did each spend on buybacks vs. SBC?"
  • "List the top 10 flagship U.S. companies whose positive 5-year Standard FCF turns negative after subtracting stock-based compensation."
  • "Audit Warren Buffett's and Li Lu's latest 13F portfolios for weighted 5-year share shrinkage vs. dilution."
  • "Compare 12-month Form 4 insider selling vs. corporate buybacks across flagship U.S. companies."

Quick Start (Client Setup)

Zero local build, Docker container, or API key required — point your MCP client to https://weightedshares.com/mcp.

Claude Code CLI

claude mcp add --transport http weightedshares https://weightedshares.com/mcp

Cursor / Windsurf / Cline

Add to ~/.cursor/mcp.json (template in configs/cursor_mcp.json):

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

Claude Desktop (via mcp-remote)

Add to claude_desktop_config.json (template in configs/claude_desktop_config.json):

{
  "mcpServers": {
    "weightedshares": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://weightedshares.com/mcp"]
    }
  }
}

OpenAI Codex CLI

Add to ~/.codex/config.toml (template in configs/codex_config.toml):

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

Verify Live Endpoint (Zero Dependencies)

Run the included Node.js 18+ smoke test against the live hosted server:

node scripts/mcp_smoke_test.mjs

Or test directly with curl:

# Discover server manifest
curl -s https://weightedshares.com/mcp | jq

# Call get_company_buybacks_sbc for NVDA (5Y)
curl -s -X POST https://weightedshares.com/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_company_buybacks_sbc","arguments":{"ticker":"NVDA","period":"5y"}}}' | jq

Hard SEC Accounting Guardrails

Every MCP response enforces the same audited SEC accounting rules used on weightedshares.com/methodology:

  1. Cover-page shares vs. diluted weighted-average shares (dei:EntityCommonStockSharesOutstanding vs. us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding) are always kept strictly separate.
  2. Never sum buybacksUsd + rsuTaxWithholdingUsd: SEC XBRL does not distinguish issuers that report RSU net-share tax settlements on a separate financing line from issuers that fold them into common stock repurchases.
  3. Never fabricate an implied average buyback price from mismatched cash-flow vs. trade-date share tags.
  4. Strict USD-only currency integrity: non-USD 20-F / IFRS units (EUR, DKK, TWD, CNY) are never coerced into *_usd fields.
  5. Economic share-class equivalence: multi-class issuers like Berkshire Hathaway (BRK-B / BRK-A) respect economic equivalence (1 Class A = 1,500 Class B) rather than naive summing.
  6. Financials & REIT FCF guardrails: balance-sheet banks, investment banks, insurers, brokerages, and REITs suppress industrial FCF = OCF − CapEx / True FCF distress figures and are excluded from True FCF Traps screens.
  7. Descriptive SEC facts only: never investment advice, stock ratings, price targets, or buy/sell recommendations.

Rate Limit, Attribution & License

  • Public Rate Limit: 30 requests / minute / IP (no API key or signup required).
  • Open Data Attribution (CC BY 4.0): SEC-derived outputs returned by WeightedShares MCP are free to use in research notes, Substack newsletters, blogs, dashboards, and AI agent responses — please attribute with a link back to WeightedShares.com (and the sourceUrl returned by the tool).
  • Repository Code License: Configuration templates and smoke test scripts in this repository are released under the MIT License.
  • Contact: hello@weightedshares.com

Docker / Local stdio Bridge

For MCP hosts or registries that run a local stdio container (such as Glama or Docker-based MCP runners), this repository also ships a zero-dependency Node.js stdio-to-Streamable-HTTP bridge (src/stdio-bridge.mjs) and Dockerfile:

docker build -t weightedshares-mcp .
docker run -i --rm weightedshares-mcp

Or run directly with Node.js >= 20 (no npm install required):

node src/stdio-bridge.mjs

Frequently asked questions

What is WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP Server?

Free SEC EDGAR XBRL data for U.S. stock buybacks, SBC, True FCF, Form 4, and 13F dilution audits.

How do I install WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP Server connects to the remote endpoint https://weightedshares.com/mcp, so there is nothing to install locally.

Is WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP Server free and open source?

Yes. WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP Server support remote (HTTP) connections?

Yes. WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP Server provide?

WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP Server provides 5 tools, including compare_companies_dilution, get_company_buybacks_sbc, get_sec_screen, and get_superinvestor_dilution. See the full tool list for descriptions and parameters.

How is WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP Server's trust score calculated?

WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server