Valuein hosted MCP server for SEC EDGAR fundamentals

Valuein hosted MCP server for SEC EDGAR fundamentals

valuein•byvaluein

A remote Model Context Protocol server exposing point-in-time, survivorship-free SEC EDGAR fundamentals, ratios, filings and research-state tools to MCP-capable agents.

License: Not specified•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Returns company fundamentals, financial ratios and valuation metrics per ticker and period through MCP tools.
  • •Reconstructs survivorship-free index membership on historical dates, including S&P 500 and Russell indices.
  • •Traces any returned figure back to its source SEC filing and accession ID.
  • •Persists watchlists, signals, reports and approvals server-side across MCP clients, with staged human approval for mutating actions.

BEST FOR

  • •Equity research analysts comparing fundamentals, ratios and peers in an AI assistant.
  • •Quants building point-in-time, survivorship-free factor datasets and small backtests.
  • •Compliance and audit users who need every number traced to an SEC filing.

ABOUT VALUEIN

Valuein hosted MCP server for SEC EDGAR fundamentals is cataloged as an MCP server attributed to valuein. A remote Model Context Protocol server exposing point-in-time, survivorship-free SEC EDGAR fundamentals, ratios, filings and research-state tools to MCP-capable agents. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Valuein hosted MCP server for SEC EDGAR fundamentals are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which endpoints does the MCP server expose?

It offers three public surfaces: the full catalog endpoint where the plan decides the data and agent payments are available, a read-only research endpoint, and a workspace endpoint that adds watchlists, signals, reports and agents with sign-in required.

How does the server prevent an AI model from inventing financial figures?

Every figure a tool returns carries a fact_id and its source filing, and verify_fact_lineage round-trips any fact_id back to the exact SEC filing URL in one call.

Do mutating MCP actions require human approval?

Yes, mutating and outward-facing tool actions go through a staged-action approval ledger where the agent proposes, a human approves and the decision is recorded in an immutable audit entry.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 84945b08c8a9 · 采集于 2026-11-13 11:34:14 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Valuein

PyPI version PyPI downloads Python 3.11+ License: Apache 2.0 GitHub stars MCP Registry Docs

Valuein — SEC EDGAR fundamentals for analysts, quants, and AI agents

Point-in-time, survivorship-free SEC fundamentals — built for AI agents, safe enough for institutions that fear AI. Every number is born in a filing and carries a fact_id; the model never mints a digit. Streamed as Parquet, queried with DuckDB or natural language, reproducible run to run.

This repository is the public home and discovery hub for the Valuein data platform. It hosts the documentation, examples, notebooks, and the MCP registry manifest used by AI agents to find us. Source code for the SDK, MCP server, and data pipeline lives in dedicated repositories — this is the front door.

pip install "valuein-sdk>=1.0.0" # data for code
# or add this URL to any MCP-capable AI client:
# https://mcp.valuein.biz/mcp     # data for agents

What's in here

You want to…Go to
Try the SDK in 30 seconds without a tokenQuickstart
See every channel we ship throughDistribution channels
Check pricing and what each plan unlocksPlans & access
See why AI agents are first-class citizens hereBuilt for AI agents
Connect an AI agent (Claude, Copilot, ChatGPT, Cursor…)MCP for AI agents
Set up the Workspace by role (analyst, PM, quant, creator)docs/WORKSPACE_GUIDE.md
Read the data modelData model
Find a quick recipe by roleRecipes by role
Run end-to-end Python examplesexamples/python/
Run interactive notebooks (Colab)examples/notebooks/
Read the methodology / SLA / complianceDocumentation
Report a data error or request a featureSupport & community
Contribute an example or notebookCONTRIBUTING.md

The data product

Survivorship-bias-free, point-in-time US fundamentals sourced directly from SEC EDGAR.

  • Every SEC-reporting US public company since 1993 — 10-K, 10-Q, 8-K, 20-F, 40-F, and amendments, for active and delisted companies alike: every bankruptcy, merger, and delisting stays in
  • Raw XBRL tags normalized to canonical standard_concept names plus materialized financial ratios (FY + TTM); unmapped tags are exposed under 'Other' rather than dropped
  • Parquet tables — fundamentals, ratios, index membership, restatement events, plus the smart-money and Form ADV adviser tables on the Institutional tier
  • Cloud Parquet on Cloudflare R2 — stream with DuckDB; no database setup, no local downloads
  • PIT-correct — every fact carries filing_date and millisecond-precision accepted_at

Counts move with every snapshot, so this page does not copy them; read them live. client.manifest() returns the snapshot id, last_updated and your plan's tables; curl -s https://data.valuein.biz/v1/sample/manifest.json | jq .schema_version prints the live schema version; https://data.valuein.biz/v1/plans gives each plan's universe size and history window; docs/data_catalog.md lists the canonical concepts and ratios.

Why it's different

PropertyWhat it means for you
🕒 Point-in-timefiling_date <= trade_date removes look-ahead bias. accepted_at gives intraday resolution for same-day signals.
⚖️ Survivorship-bias freeDelisted, bankrupt, and acquired companies remain in every snapshot — your backtest sees the universe the market saw.
📊 Standardized conceptsBoth the raw XBRL tag (fact.concept) and the canonical name (fact.standard_concept) are on every row. No hidden mapping table.
🔍 CPA-verified catalogEvery standard_concept carries a review_confidence — 1.0 once an accountant has signed off on its name, statement and rule (then it's locked; the pipeline only ever adds new concepts, never mutates a verified one), 0.7 while provisional. Filter review_confidence >= 1.0 for the labels analysts, quants and AI models can agree on and train against.
🚀 DuckDB-nativeMillisecond analytics over remote Parquet via httpfs. Zero database provisioning.
🔁 Append-only restatementsA 10-K/A adds a new row — the original stays. Reconstruct the as-reported view of any historical date.
🧾 Measured, published accuracyMathematical consistency checked against published, cited accounting identities — CI-gated, and re-derivable yourself with one DuckDB command. The current measured figure lives in docs/accuracy/baseline.json.
🔐 One token, every channelThe same Bearer token authenticates the SDK, MCP server, and bulk-data API.

Built for AI agents

Valuein is MCP-first and agent-agnostic: the same typed tool surface works in Claude, Copilot, ChatGPT, Perplexity, Gemini, Grok, Cursor, or your own LangGraph / CrewAI agent. The design goal is simple — the model never mints a number. Numbers are born in tools, carried as provenance-tagged facts, and the model is only allowed to arrange words around figures it was handed.

GuaranteeHow it's enforced
Fact-level lineageEvery figure a tool returns carries a fact_id and its source filing; verify_fact_lineage round-trips any fact_id back to the exact SEC filing URL in one call.
Zero look-aheadEvery time-series tool accepts as_of_date and reconstructs the information set as of that date — the same PIT discipline the Parquet layer enforces for backtests.
Reproducible runsDeterministic, idempotent tools: same inputs, same output. No rolling windows, no hidden "latest". Agents can cache, retry, and replay; you can reproduce a run later.
Agent-agnostic stateTheses, claims, watchlists, signals, and reports persist server-side across sessions and across clients — save a thesis from Claude today, list it from Cursor tomorrow.
Human-on-the-loop (HOTL)Mutating and outward-facing tool actions go through a staged-action approval ledger: the agent proposes, a human approves, and the decision lands in an immutable audit entry. Read-only tools never stage.
Governed managed runsServer-side managed agent runs execute at temperature 0 with a model allow-list and destructive-tool stripping — reproducible research, not improvisation.
Graded track recordsSaved theses and claims are scored against subsequent fundamentals; publishing builds a public, verifiable track record — your agent keeps score.

The full tool reference is in docs/MCP_TOOLS.md; agent-facing runtime instructions are in AGENTS.md.


Distribution channels

The same dataset, delivered four ways so it lands where you already work.

ChannelAudienceEndpoint / install
Python SDKQuants, engineers, data scientistspip install valuein-sdk · PyPI
MCP serverAI agents (Claude, Copilot, ChatGPT, Cursor, custom)https://mcp.valuein.biz/mcp · server.json
Web dashboardRetail, executives, non-technical usersvaluein.biz
Bulk data APIB2B partners, fintech platformshttps://data.valuein.biz · contact us

A single Stripe-issued token unlocks every channel at your tier — no per-channel billing.


Plans & access

Pricing and feature scope are mirrored from valuein.biz/pricing — the website is the source of truth and our checkout flow routes to the correct Stripe product.

PlanUniverseHistoryGet it
SampleEvery S&P 500 member since 1996, former members included5 calendar years + YTDFree, no signup: pip install "valuein-sdk>=1.0.0"
BenchmarkEvery S&P 500 member since 1996, former members includedFull historyFree, register
ProFull active + delisted universe incl. foreign issuers (20-F, 40-F), fundamentals datasetRolling 15 years (from 2011 today)Subscribe
InstitutionalSame universe + smart-money dataset (insider transactions on Forms 3/4/5/144 + institutional ownership on Forms 13F/13D/13G)Full history back to 1993Subscribe
EnterpriseOrganisations and teams, by Enterprise Agreement: the whole dataset, multi-seat · display in your own products and client deliverables, with attribution, where the Order Form says so · dedicated infrastructure · negotiated scopeCustomsales@valuein.biz

Redistribution, resale and white-label are not part of any plan, Enterprise included: data vendors and platforms sign a separate Redistribution Licence (sales@valuein.biz).

Prices, universe sizes, history windows and rate limits are served live; read them instead of a copy:

curl -s https://data.valuein.biz/v1/plans \
  | jq '.plans[] | {displayName, priceUsd, universeSize, earliestYear, perMinute, perHour}'

Each tier removes a different buyer objection — Pro removes the universe + history limits on the fundamentals dataset; Institutional adds the smart-money dataset (insider transactions + institutional ownership), unlimited history back to 1993, filing-event webhooks, and a single-seat internal-use licence (no redistribution); Enterprise is for organisations and teams: an Enterprise Agreement for multi-seat use and, where the Order Form says so, display in your own products and client deliverables with attribution, plus dedicated infrastructure, service levels and bespoke contracts. Redistribution, resale and white-label need a separate Redistribution Licence, which no plan includes.

How you pay: three parts, no run limits

Subscribe for the data. Pay only for the AI you use.

  1. Subscription = data. Your plan sets how much of the market you can see (companies, years of history, filing types, datasets), plus API rate limits, daily bulk downloads, webhooks, licence and support. Plans: Sample, Benchmark, Pro, Institutional, Enterprise.
  2. Balance = AI work. One balance pays for Valuein AI chat, agent runs and coverage reads. There are no run limits and no Workspace run fee: a run costs only the AI compute it uses. Every plan includes a monthly compute allowance, and new accounts start with a welcome credit. Using your own Anthropic or OpenAI key costs nothing on our side.
  3. Agent payments = AI agents without an account. An agent buys a 24-hour company pass or pays a per-run fee, by card, over MPP (below). A subscriber pays the same prices for data outside their plan.

Agent payments (MPP)

Autonomous AI agents that need data outside their plan can pay by card over the Machine Payments Protocol — no human checkout loop, no account, no minimum. MPP is the only agent payment method, and it is offered on the full MCP endpoint (https://mcp.valuein.biz/mcp) only. The agent calls POST https://api.valuein.biz/api/mpp/call, receives a 402 quoting the exact price, pays, and retries the same URL; the data comes back inline. Funds are held first and captured only after the data is delivered, so you are never charged for data you did not receive.

Payment is card-only today. Fetch https://api.valuein.biz/api/mpp/well-known to see which networks are live before paying.

What you buyPrice
Company pass, pro level: one company, every company-data tool, Pro history (from 2011), 24 hours$1.00
Company pass, full level: the same with history back to 1993, plus the smart-money tools, 24 hours$5.00
Compute run (compute_dcf, forensic_audit, document generation, …), plus a pass for each company it reads$1.00 per run
Verification run (figure-checking tools, up to 50 figures), plus a pass for each company outside your plan$1.00 per run
Universe run (screen_universe, get_pit_universe, run_backtest)$5.00 per run

The payment returns your pass in the X-Valuein-Mpp-Pass header; send it as x-valuein-mpp-pass on later /mcp calls to reuse it for that company until it expires. Any Valuein token, the free Benchmark one included, pays 50% less (present it in X-Valuein-Authorization), and every account verifies its first 100 figures free, once. Search and provenance tools are free; Workspace tools (watchlists, signals, agents, reports) and bulk streaming are not sold per call. Live prices: curl -s https://api.valuein.biz/api/mpp/tools; a 402 quotes the exact amount before anything is authorized. If you pay repeatedly, a Pro or Institutional subscription is cheaper. See AGENTS.md for the full flow.

The whole pattern — an agent that buys its own data, safely — is written up as a reference implementation in docs/AGENT_ECONOMY_RAIL.md: the MPP hold-verify-capture flow, company passes, why it's the safe default, and a runnable demo — examples/python/agent_buys_its_own_data.py — that discovers the rail and reads back a live quote for free.

Rate limits per tier are the perMinute / perHour fields of https://data.valuein.biz/v1/plans (the jq command under Plans & access prints them).


Quickstart (30 seconds, no token)

Pick whichever Python workflow you already use — both work in any virtual environment, and both run the same code below:

# Option A — pip (universal, ships with Python)
python -m venv .venv && source .venv/bin/activate
pip install "valuein-sdk>=1.0.0"
# Option B — uv (10–100× faster; install from https://docs.astral.sh/uv/)
uv venv && source .venv/bin/activate
uv pip install "valuein-sdk>=1.0.0"

Zero-friction by design. No VALUEIN_API_KEY? No problem. The SDK detects the missing token and falls back to the SAMPLE dataset (S&P 500, last 5 years); the edge gateway does the same — GET /v1/{sp500,pro,full}/:table with no Authorization header automatically 302-redirects to /v1/sample/:table. The snippet below runs as-is.

from valuein_sdk import ValueinClient

with ValueinClient() as client:
    print(client.me())               # {plan, status, email, createdAt}
    print(client.manifest())         # snapshot id, last_updated, tables
    print(client.tables())           # tables your plan can read (they load on first use)

    df = client.run_query("""
        SELECT r.symbol, r.name, r.sector
        FROM   "references" r
        JOIN   index_membership im ON im.cik = r.cik
        WHERE  im.index_name = 'SP500'
          AND  im.removal_date IS NULL
          AND  r.is_active = TRUE
        ORDER  BY r.name
        LIMIT  10
    """)
    print(df)

That's a real query against the live S&P 500 sample. Add a token only when you need full universe or full history:

# optional — the sample tier works without a key
export VALUEIN_API_KEY="your_token_here"      # or add this line to a .env file

The same code now reads from your tier — no other changes. ValueinClient() reads VALUEIN_API_KEY from the environment, or from the first .env it finds walking up from the working directory; ValueinClient(api_key="") forces the free sample whatever the environment holds. The curl and DuckDB examples in this repo keep the same token in $VALUEIN_TOKEN: it is the same token under a shell-variable name, and the SDK does not read that one.

Production pattern — context manager, typed errors, pre-built templates

from valuein_sdk import (
    ValueinClient,
    ValueinAuthError,
    ValueinPlanError,
    ValueinRateLimitError,
    ValueinAPIError,
    ValueinError,
)

# Two-level try/except is intentional:
#   outer = init errors raised by ValueinClient.__enter__ (auth, manifest, 503)
#   inner = per-query errors raised by run_query / run_template (rate-limit,
#           plan denial, bad SQL). Each level dispatches by exception type so
#           you can act on the right cause — exit on auth, sleep on rate-limit,
#           upsell on plan, log + skip on a single bad row.

try:
    with ValueinClient() as client:
        try:
            # 1) Build & run a raw SQL query → pandas DataFrame
            sql = "SELECT COUNT(cik) FROM entity"
            result = client.run_query(sql)
            print(result)

            # 2) Run a named SQL template with kwargs (the SDK quotes safely)
            df = client.run_template(
                "fundamentals_by_ticker",
                ticker="AAPL",
                start_date="2020-01-01",
                end_date="2024-12-31",
                form_types=["10-K", "10-Q"],
                metrics=["TotalRevenue", "NetIncome", "OperatingCashFlow"],
            )
            print(df.head())
        except ValueinPlanError:
            print("This query needs a higher plan — see valuein.biz/pricing.")
        except ValueinRateLimitError as e:
            print(f"Rate limited; retry in {e.retry_after}s.")
        except ValueinError as ve:
            # Catch-all for any other per-query failure (validation, bad SQL, etc.)
            print(f"Query failed: {ve}")
except ValueinAuthError:
    raise SystemExit("Token missing or expired — set VALUEIN_API_KEY.")
except ValueinAPIError as e:
    print(f"Gateway error during init (HTTP {e.status_code}).")
except Exception as e:
    print(f"Initialization failed: {e}")

The SDK ships named SQL templates for the most common screens, ratios, and PIT backtests. List the ones your installed version carries:

from valuein_sdk import ValueinClient
with ValueinClient() as c:
    print(c.list_templates())

Statements and screens, every number traced to its filing

from valuein_sdk import ValueinClient

with ValueinClient() as client:  # no token: free sample tier
    fin = client.financials("AAPL")  # income, balance sheet, cash flow as known at as_of
    print(fin.income)
    print(fin.lineage.head())  # each number's fact_id, filing accession and acceptance time

    screen = client.screen("2024-06-28", universe="SP500").where("return_on_equity > 0.15")
    print(screen.top(10, by="gpoa").to_pandas().summary())  # members on that date, delisted included

The main verbs

You want…CallPlan
Raw SQL over point-in-time viewsclient.run_query(sql), client.duckdb()all
Statements as known on a dateclient.financials("AAPL", freq="FY") ("Q", "TTM"; .as_filed())all
Index members on a past date (delisted included)client.universe(dates=[...]), client.pit_universe("2022-06-30")all
Ratios known on those datesclient.signal_panel(members, ratios=[...])all
A point-in-time screenclient.screen("2024-06-28").where("return_on_equity > 0.15")all
A two-stage DCF with traced inputsclient.dcf("MSFT", stage1_growth_rate=0.08)all
Peers and restatementsclient.peers("MSFT", n=5), client.restatements(ticker="MPWR")all
Mirror or pin the dataclient.sync(path), ValueinClient.from_bundle(path)plan-limited
from valuein_sdk import ValueinClient

client = ValueinClient()  # reads VALUEIN_API_KEY; no key = free sample

# S&P 500 members on a past date, later-removed companies included
members = client.universe(dates=["2022-06-30"])

# Return on equity as it was known on that date
panel = client.signal_panel(members, ratios=["return_on_equity"])
print(panel.head())

# A DCF with your growth assumption; every input traced to its filing
dcf = client.dcf("MSFT", stage1_growth_rate=0.08)
print(dcf.value_per_share, dcf.enterprise_value)

# Numbers a later filing changed, with both filings
print(client.restatements(ticker="MPWR").head())

The same client builds point-in-time factor panels from as-filed, point-in-time or restated numbers, traces every cell to its filing, and mirrors or pins a data snapshot: docs/SDK_USE_CASES.md.

Bring your own prices: join the closes you hold to point-in-time SEC EDGAR filings data, from the SDK or MCP, on any plan: docs/BRING_YOUR_OWN_PRICES.md.

Reference: docs/QUERY_COOKBOOK.md (DuckDB recipes) · docs/data_catalog.md (canonical concepts) · PyPI README (SDK quickstart).


Recipes by role

Every link below points to a runnable script in examples/python/; most pair with a notebook in examples/notebooks/. The Sample tier runs every example except the Institutional smart-money screen — no token, no signup.

You are a…Start withWhat you'll see
Financial analystfinancial_analysis.pyRevenue trend, margin walk, peer comparison from one ticker
Quant / researcherpit_factor_dataset.pyPoint-in-time, survivorship-free factor file, ready for your own backtester
Portfolio managerentity_screening.pyScreen the S&P 500 as it stood on a past date, including later-removed members
Forensic analystrestatement_radar.pyEvery restated number, how it was disclosed, both filings to verify
Valuation modelerdcf_inputs.pyclient.dcf(): a two-stage DCF with your assumptions, every input traced to its filing
Auditor / compliancefiling_provenance.pyClick-through SEC EDGAR links per filing — open the iXBRL viewer on the exact source document behind a number
Data engineerproduction_service.pyScheduled point-in-time extract to Parquet: limits, logging, exit codes
First-time usergetting_started.pyPlan check, ticker → CIK, first fundamentals query
Building an AI agentMCP for AI agentsUse natural language — no SDK required

Run any of them:

# Sample tier — works without a token
python examples/python/getting_started.py

# Paid tier
VALUEIN_API_KEY=xxx python examples/python/pit_factor_dataset.py

Data model

Full schema in docs/schema.json (machine-readable) and docs/data_catalog.md (canonical concept names). Every tier reads the core tables below (including industry_classification, the point-in-time SIC classification, filing_registrant and restatement_events); the Institutional tier adds the smart-money tables (insider_party / insider_filing / insider_transaction / insider_ownership / insider_footnote / insider_ownership_purpose / institutional_filing / institutional_holding / institutional_other_manager) and the Form ADV adviser tables (investment_adviser, investment_adviser_private_fund). client.tables() lists what your plan reads; curl -s https://data.valuein.biz/v1/sample/manifest.json | jq .schema_version prints the live schema version.

TableWhat it isWhy it matters
referencesStart here. Flat join of entity + security. One row per security with cik, is_active, sector, exchange, FIGI. For membership, JOIN index_membership on cik = cik.One scan for cross-company metadata; index membership stays in its own table so historical entry/exit is preserved.
entityCompany metadata — CIK, name, sector, SIC, status, fiscal year endThe legal entity dimension.
securityTicker history (SCD Type 2 with valid_from / valid_to)Resolve historical tickers, share classes, exchanges.
filingFiling metadata — accession_id, filing_date, report_date, form type, amendment flagThe "what was filed when" dimension.
factStandardized financial facts — both raw concept and canonical standard_concept on every rowThe numbers. PIT-safe via accepted_at.
filing_registrantEvery registrant of an accession (every tier, sample included)filing keeps one row per accession_id, so a combined co-registrant filing appears under one CIK only. Join filing_registrant to filing on accession_id to list a company's filings including the combined ones.
ratioPipeline-computed financial ratios per filingSkip the SQL — margins, returns, leverage, efficiency pre-calculated.
taxonomy_guideThe US GAAP taxonomy guideDefinitions for every standard_concept.
index_membershipIndex constituents keyed on cik, with effective_date / removal_date half-open windows. SP500 membership history starts in 1996 — entry/exit spells including long-delisted registrants. It is a reconstruction: before about 2007 it holds fewer members than the index had, and fewer than half of each year's members are confidence='high'. RUSSELL1000 / RUSSELL2000 / RUSSELL3000 go back to 2000-09-30 (confidence='medium', source='fund_holdings') — reconstructed from the publicly disclosed portfolio holdings of large funds tracking each index, so a fund proxies rather than defines the index, and a join or leave date is only as precise as the interval between observations (roughly one to four a year through 2006, monthly from 2007). No Russell data before 2000-09-30, and no holdings observation between 2016-12-30 and 2017-07-31.Reconstruct the S&P 500 or a Russell index on a historical date. Branch on confidence — medium means approximate, not authoritative. JOIN references.cik = index_membership.cik for company metadata.
industry_classificationPoint-in-time SEC SIC classification: one row per company and SIC spell, with the 4-digit sic_code (sub-industry), sic_industry_group, sic_major_group, sic_division, sector and industry. valid_from is the SEC acceptance time of the first filing that showed the code; valid_to is exclusive, NULL = current. Taken from the SIC in each filing's SEC header. Every tier, same companies as references. No GICS (licensed): 4-digit SIC is the finest level published.references.sector / industry / sic_code are the current values, stamped on all history. For "what industry was this company in on date t", filter valid_from <= t AND (valid_to IS NULL OR t < valid_to). No rows before a company's first evidence.
restatement_eventsRestatement Radar feed — one row per fact a later filing materially changed (original vs current value, delta, severity, both accessions for filing lineage) and a disclosure_class of non_reliance, amended or undisclosed (every tier, sample included)Find restated numbers and trace each to the two filings; MCP list_restatements.
corporate_actionCorporate actions read from SEC filings: name and ticker changes, delistings, bankruptcies, completed mergers, splits, cash dividends, spin-offs (one row per event, with first_known_at for point-in-time use and the evidence filing; every tier)Window on event_date; check any row against its filing.
fact_quarterlyDiscrete quarters: Q1-Q4 of every fiscal year, the 10-K year split into Q4, one row per filing with is_latest (every tier)TTM sums and seasonality without deriving Q4 yourself.
standard_conceptThe canonical concept catalog itself — names, statements, mapping rules, review statusThe ground truth behind fact.standard_concept.
insider_footnote · insider_ownership_purpose · institutional_other_managerInstitutional only — Form 3/4/5 footnotes (the receipt behind a 10b5-1 plan or a weighted-average price), the verbatim Item 4 "Purpose of Transaction" of a Schedule 13D, and the 13F manager listsThe text behind a transaction, a stake or a combined 13F; join insider_footnote and insider_ownership_purpose to insider_filing, and institutional_other_manager to institutional_filing, on accession_id.

Reading the Parquet files directly

Tables are plain Parquet over HTTPS. The free sample needs no token and no file extension; paid tiers send the Bearer token. A request without a token to a paid route redirects (302) to the sample copy.

# Free sample — no token, no card
curl -sL https://data.valuein.biz/v1/sample/entity -o entity.parquet

# Paid tiers: sp500 | pro | full — the same Bearer token as the SDK, kept here in $VALUEIN_TOKEN
curl -sL -H "Authorization: Bearer $VALUEIN_TOKEN" https://data.valuein.biz/v1/pro/references -o references.parquet

# One company's partition of a large table (10-digit CIK)
curl -sL -H "Authorization: Bearer $VALUEIN_TOKEN" https://data.valuein.biz/v1/pro/fact/0000320193.parquet -o aapl_fact.parquet

https://data.valuein.biz/v1/sample/manifest.json lists the tables and the schema version of the sample.

Date columns — which to use when

ColumnTableUse for
report_date / period_endfiling / factAligning to the fiscal calendar
filing_datefilingPIT backtest filter — when the SEC received it
accepted_atfact, filing, ratio (+ smart-money tables)Millisecond-precision PIT for intraday research

For any cross-company backtest, always filter by filing_date <= trade_date. Filtering by report_date introduces look-ahead bias.

Three patterns that pay off in DuckDB

1. Start from references (one join for cross-company filters; membership is in index_membership):

SELECT r.symbol, r.name, r.sector
FROM   "references" r
JOIN   index_membership im ON im.cik = r.cik
WHERE  im.index_name = 'SP500'
  AND  im.removal_date IS NULL          -- current member
  AND  r.is_active     = TRUE
  AND  r.sector ILIKE '%technology%'

2. LATERAL for the latest filing per company (an excerpt: add this join to pattern 1's query, which defines r):

JOIN LATERAL (
    SELECT accession_id, filing_date FROM filing
    WHERE  entity_id = r.cik AND form_type = '10-K'
    ORDER  BY filing_date DESC LIMIT 1
) f ON TRUE

3. Pivot multiple concepts in one fact scan:

SELECT
    MAX(CASE WHEN standard_concept = 'TotalRevenue'       THEN numeric_value END) AS revenue,
    MAX(CASE WHEN standard_concept = 'StockholdersEquity' THEN numeric_value END) AS equity
FROM   fact
WHERE  standard_concept IN ('TotalRevenue', 'StockholdersEquity')
GROUP  BY accession_id

Quarterly cash flows: use COALESCE(derived_quarterly_value, numeric_value) — Q2/Q3 10-Qs report YTD; this column isolates the single quarter. CAPEX sign varies by filer — always ABS(capex).

The full cookbook — recipes, anti-patterns, an end-to-end factor screen — lives in docs/QUERY_COOKBOOK.md.

Canonical concept names

Query fact.standard_concept with canonical names like 'TotalRevenue', 'NetIncome', 'OperatingCashFlow', 'CAPEX', 'StockholdersEquity' — not raw XBRL tags ('Revenues', 'NetIncomeLoss', 'Assets'). The full list lives in docs/data_catalog.md and the machine-readable form is in docs/data_catalog.json.


MCP for AI agents

Valuein ships a remote, protocol-native Model Context Protocol server so any MCP-capable agent (Claude, Copilot, ChatGPT, Cursor, custom) can answer fundamentals questions — and keep persistent, auditable research state — without writing code.

  • Endpoints: three public ones, each a different surface:
    • https://mcp.valuein.biz/mcp: the full catalog; your plan decides the data. The only endpoint that offers agent payments (MPP).
    • https://mcp.valuein.biz/research/mcp: read-only research tools, no sign-in needed (sign-in optional), no payments. The surface listed in AI app directories.
    • https://mcp.valuein.biz/workspace/mcp: the data tools plus your Workspace (watchlists, signals, reports, agents); sign-in required.
  • Transport: Streamable HTTP, stateless; MCP spec 2025-11-25 and 2026-07-28 clients are both served
  • Auth: Authorization: Bearer <your_api_token> (same token as the SDK and bulk-data API), or sign in with OAuth: connect with no header and the client discovers the server's OAuth metadata and sends you to the valuein.biz login; the token it gets works only on the endpoint you connected. With no token at all, /mcp serves the free sample and /research/mcp its read-only tools.
  • Manifest: server.json — published to registry.modelcontextprotocol.io as biz.valuein/mcp
  • Reference: docs/MCP_TOOLS.md — every tool, every input, every tier gate, and how errors and paged results read (generated from the live manifest)

Tools

The server exposes 110 live tools, plus 30 agentic SOP prompts (two flagship cross-persona briefs — equity_research_brief and screen_and_shortlist — plus specialised chains for analyst, PM, quant, ratio, smart-money, and workflow personas) and 3 data resources (schema://{table}, reference://sp500, pricing://current). Tier gating happens at the data layer — the free Sample (no token, from 2020) and Benchmark (every S&P 500 member since 1996, former members included, history from 1993) tiers see their slices; Pro sees the full universe of 28,000+ active and delisted companies with a 15-year point-in-time window (2011 → present); Institutional unlocks the smart-money tools (insider transactions on Forms 3 / 4 / 5 / 144 + institutional ownership on Forms 13F / 13D / 13G), Form ADV, unlimited history back to 1993 and filing-event webhooks, for single-seat internal use. Enterprise (an Enterprise Agreement for organisations and teams) adds multi-seat use and, where the Order Form says so, display in your own products and client deliverables with attribution. Redistribution, resale and white-label need a separate Redistribution Licence, which no plan includes.

Discovery & schema

ToolWhat it does
search_companiesLook up tickers, names, CIKs; filter by sector, S&P 500, active status
describe_schemaReturn columns, types, and descriptions for any table
get_pit_universeSurvivorship-free membership (S&P 500, Russell 1000 / 2000 / 3000, a sector, or the whole universe) on any historical as_of_date, paged

Fundamentals & ratios

ToolWhat it does
get_company_fundamentalsIncome statement, balance sheet, cash flow per ticker per period
get_financial_ratiosMargins, returns, leverage, efficiency, FCF yield (per category)
get_valuation_metricsWhat a company trades at, plus parameter-free reference points; intrinsic value comes from compute_dcf with assumptions you state
get_capital_allocation_profileCapEx intensity, buyback yield, dividend history

Filings & lineage

ToolWhat it does
get_sec_filing_linksDirect EDGAR URLs for 10-K / 10-Q / 8-K / 20-F / 40-F
verify_fact_lineageTrace any number back to the exact filing + accession ID it came from

Comparison & analytics

ToolWhat it does
compare_periodsSide-by-side comparison across periods with material-change flags
get_peer_comparablesPeer set + comparable metrics by sector
screen_universeMulti-factor screen across the universe

Bulk data

ToolWhat it does
get_compute_ready_streamIssue signed, expiring download URLs for direct Parquet streaming (skip the gateway)

Smart money — Institutional tier and above

The smart-money bundle replaces Bloomberg's INSIDER<GO> / OWNER<GO> / HDS<GO> screens with a single Valuein token. Each tool reads a per-CIK Parquet partition and returns structured rows with the lineage envelope for one-click SEC verification.

ToolWhat it does
get_insider_transactionsForm 3 / 4 / 5 / 144 line items per issuer — joined to insider_party for name + role
get_institutional_holdingsForm 13F top holders for one issuer with HHI concentration + 13F-lag staleness flag
get_manager_portfolioForm 13F filer's full portfolio with QoQ deltas (new / increased / decreased / exited)
get_blockholdersSC 13D / 13G with the first-class going_active flag (13G→13D = control-change signal)
get_insider_sentiment · get_top_holders · get_smart_money_flowAggregated insider buy/sell signal, largest holders, and net institutional flow per issuer

Persistent, agent-agnostic research state (all MCP clients)

Research objects live server-side, keyed to your token — save from one AI client, read from another, score later.

FamilyTools (representative)What it does
Watchlists & signalssave_watchlist, create_signal, list_signal_inboxStanding monitors on fundamental changes and filings — delivered to email, webhook, dashboard inbox, or an agent_run that fires a standing agent team
Reportscreate_report, render_report, save_freeform_reportDurable, versioned research artifacts with branded md/docx export
Deferral & rulesschedule_task, create_rule, test_rule"Re-check AAPL margins in 30 days" → a real scheduled re-run; trigger→action rules (signal fired, inbox item, task wake, schedule tick)
Approvals (HOTL)stage_action, list_pending_approvals, approve_staged_actionMutating/destructive actions stage for human approval with an immutable audit entry
Backtestingrun_backtest, get_pit_valuation_ratiosSmall, bounded point-in-time factor checks and point-in-time TTM financials (no price-based multiple)
Briefingget_morning_brief, list_agent_runsRead your daily brief and managed-run history from any MCP client

Public publishing — free reputation building (any signed-in plan)

Publish your saved research to a public @handle profile — free to build a public track record and reputation. Reports become a shareable /r/[slug] page discoverable via keyword catalog search (no semantic search yet); theses and claims get the same free publish / unpublish visibility toggle. This is publishing, not selling.

ToolWhat it does
publish_reportPublish a saved report to your public profile (@handle) as a shareable /r/[slug] page
unpublish_reportTake a previously published report private again
search_reportsSearch the public report catalog by ticker, author, or keyword (keyword catalog search)
publish_thesis / unpublish_thesisToggle a saved thesis public / private on your profile — parity with publish_report
publish_claim / unpublish_claimToggle a saved claim public / private on your profile — parity with publish_report

Configure in Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "valuein": {
      "url": "https://mcp.valuein.biz/mcp",
      "headers": { "Authorization": "Bearer YOUR_VALUEIN_API_KEY" }
    }
  }
}

Same URL + Bearer token works for any MCP client that supports Streamable HTTP remotes — Copilot, ChatGPT, Cursor, your own LangGraph / CrewAI agent.


Examples in this repository

Every script and notebook works against the SDK published on PyPI. The Sample tier runs without a token; add VALUEIN_API_KEY to use a paid tier.

The full learning path, with who each item is for and the plan it needs: examples/README.md.

Python scripts (examples/python/)

ScriptLevelWhat it shows
getting_started.pyBeginnerPlan, snapshot, ticker → CIK, annual revenue and net income
financial_analysis.pyBeginnerIncome statement and margins, single-quarter cash flow, peer ratios
pit_backtest.pyIntermediateThe same query at two as_of dates gives two answers (a real restatement)
entity_screening.pyIntermediateScreen the S&P 500 as it stood on a past date
pit_factor_dataset.pyAdvancedPoint-in-time, survivorship-free factor file to Parquet and CSV
restatement_radar.pyIntermediateDisclosure mix, one verified revision, recent Item 4.02 revisions
smart_money_screen.pyIntermediateInsider trades, 13F holders, blockholders (Institutional)
filing_provenance.pyBeginnerA number, its recomputed fact_id, and links to its SEC filing
dcf_inputs.pyIntermediateclient.dcf() with traced inputs and value per share
production_service.pyAdvancedScheduled point-in-time extract to Parquet with limits, logging, exit codes
agent_buys_its_own_data.pyAdvancedAn agent discovers the payment rail and reads a live quote for a data pass

Jupyter notebooks (examples/notebooks/)

Executed on the free sample tier and committed with their output.


Documentation

Everything in docs/ is kept in sync with the production data and the SDK on PyPI.

DocumentWhat's in it
docs/WORKSPACE_GUIDE.mdWorkspace welcome guide — 15-minute setup + daily/weekly/monthly playbooks per role (analyst, PM, quant, creator)
docs/METHODOLOGY.mdSourcing, PIT architecture, restatement handling, XBRL normalization, the DCF model
docs/accuracy/Accuracy proof — measured source of truth is docs/accuracy/baseline.json (current snapshot: see baseline.json for the latest figure on modern-era ≥2010 S&P 500 FY filings), citable to FactSet PIT / FASB ASC / Penman, reproducible via duckdb -c ".read scripts/accuracy/accuracy_check.sql"
docs/QUERY_COOKBOOK.mdCopy-pasteable DuckDB recipes — LATERAL, pivots, PIT, factor screens
docs/SDK_USE_CASES.mdThe most common SDK use cases, easiest → advanced, each linked to a notebook executed on the free tier
docs/BRING_YOUR_OWN_PRICES.mdMultiples on the prices you hold, joined to point-in-time SEC EDGAR filings data (SDK and MCP)
docs/MCP_TOOLS.mdReference for every MCP tool — inputs, output fields, tier gates, errors and paging (generated from the live manifest)
docs/data_catalog.mdCanonical standard_concept names and definitions
docs/DATA_CATALOG.xlsxSame catalog as a workbook — columns, types, sample values
docs/data_catalog.jsonMachine-readable catalog (used by SDK metadata + docs sites)
docs/schema.jsonMachine-readable table + column schema
docs/COMPLIANCE_AND_DDQ.mdData provenance, MNPI policy, PIT integrity, security, SLA summary
docs/COMPLIANCE_AND_DDQ.mdDue diligence answers: sourcing, point-in-time integrity, service levels (no uptime SLA)

Support & community

GitHub Issues is the primary support channel. Use the right template — it routes correctly and gets faster triage.

I want to…Open
Report incorrect or suspicious dataData Quality Report
Request a feature, concept, or datasetFeature Request
Report an outage or degraded serviceService Outage
Ask a general questionQ&A
Report a security issue privatelySee SECURITY.md
Get general helpSee SUPPORT.md

For private or contractual matters (DPAs, procurement, DDQs, enterprise SLAs): support@valuein.biz.

Contributions — examples, notebook improvements, documentation fixes, query recipes — are very welcome. See CONTRIBUTING.md for the workflow and CODE_OF_CONDUCT.md for community standards.


Trademarks

Index names are trademarks of their owners; Valuein is not affiliated with or endorsed by any index provider.

License & disclosure

The code and documentation in this repository are licensed under Apache 2.0. See NOTICE for attribution.

Valuein data, in every tier including the free sample, is licensed separately under the Valuein Data Licence: internal use and research, small excerpts with credit; redistribution and resale need a separate Redistribution Licence, and model training a signed agreement that expressly permits it.

This repository is provided for research and educational purposes. It is not investment advice. No warranty of fitness for any particular trading, investment, or regulatory purpose is implied.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Valuein hosted MCP server for SEC EDGAR fundamentals from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/valuein)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics