Skip to main content
Glama

USERDATA

The tools exist. The user has no data store. USERDATA is that store.

A logged-in Yahoo Finance account remembers your history, screens and watchlists. USERDATA is that account for equity research done with Claude, built properly: one MCP server that keeps every session, preference, skill, tag, custom XBRL concept, watchlist, peer group, note, thesis and research step, plus every number and filing pulled from SEC EDGAR and Yahoo Finance, with each number traceable to the filing it came from.

Status

v1 works: 23 MCP tools over two stores, pulling real SEC and Yahoo data. Every file is under 150 lines and passes Google's pylint, pyrefly and dbt's SQLFluff rules.

Related MCP server: open-finance-mcp

Run

cp userdata.example.toml userdata.toml   # edit paths and contact
make setup test lint
USERDATA_CONFIG=$PWD/userdata.toml uv run userdata serve          # stdio
USERDATA_CONFIG=$PWD/userdata.toml uv run userdata serve --http   # HTTP

Sources

Built on edgartools (MIT) and yfinance (Apache-2.0). Arelle (Apache-2.0) validates custom taxonomies and builds the iXBRL viewer.

Rules

  • Permissive licences only. CI fails on anything else.

  • Every write survives a kill and a restart, vectors included.

  • No engine name inside a tool. Engine choice is configuration.

  • Additive schema changes only.

  • Python: Google style guide. SQL: dbt style guide.

Licence

MIT. See LICENSE.

Available Tools

23 tools
add_noteC

Writes a note; ticker may be empty.

Inputs: ticker (required), note_text (required), project_id. Returns: object

add_to_listC

Puts a ticker on a watchlist or peer group.

Inputs: ticker (required), list_name (required), reason_text (required). Returns: object

compute_conceptC

Computes an own concept from a company's facts and stores it.

Inputs: ticker (required), concept_name (required). Returns: result

create_listC

Creates a list; list_type is "watchlist" or "peer_group".

Inputs: list_name (required), list_type (required), purpose_text (required), project_id. Returns: object

define_conceptC

Defines an own XBRL concept as a weighted sum of reported ones.

Inputs: concept_name (required), concept_formula (required), definition_text (required). Returns: object

finish_runC

Ends a run as "ok" or "failed" and keeps its report.

Inputs: report (required), run_id (required), run_status (required). Returns: object

historyC

Returns what was done, newest first, for a session or project.

Inputs: limit, project_id, session_id. Returns: result

logC

Records what happened, e.g. event_type "decision" or "finding".

Inputs: details (required), event_type (required), session_id (required). Returns: object

pull_companyC

Stores a company's SEC profile and returns it, CIK included.

Inputs: ticker (required). Returns: object

pull_factsC

Stores every XBRL fact SEC holds for a company.

Inputs: ticker (required). Returns: object

pull_filingsC

Stores the latest filings of one form type, e.g. "10-K" or "8-K".

Inputs: limit (required), ticker (required), form_type (required). Returns: object

pull_pricesC

Stores daily prices for a Yahoo period such as "1y" or "max".

Inputs: period (required), ticker (required). Returns: object

pull_profileC

Stores Yahoo's profile of a company and returns it.

Inputs: ticker (required). Returns: object

pull_statementsC

Stores Yahoo's statements; timescale is yearly, quarterly or trailing.

Inputs: ticker (required), timescale (required). Returns: object

query_accountB

Runs one read-only SELECT on the account tables.

Inputs: sql (required). Returns: result

query_marketC

Runs one SELECT on the market tables.

Inputs: sql (required). Returns: result

remove_from_listB

Takes a ticker off a list; the history keeps that it was there.

Inputs: ticker (required), list_name (required). Returns: object

save_skillC

Saves a new version of a skill; old versions are kept.

Inputs: skill_name (required), skill_text (required), skill_settings (required). Returns: object

set_preferenceD

Remembers how Michael wants things done.

Inputs: preference_key (required), preference_value (required). Returns: object

start_projectC

Starts a project that sessions, lists and notes can belong to.

Inputs: goal_text (required), project_name (required). Returns: object

start_runC

Starts a run of the latest version of a skill.

Inputs: run_inputs (required), skill_name (required), session_id. Returns: object

start_sessionC

Opens a working session; pass its session_id to log.

Inputs: session_title (required), project_id. Returns: object

tagC

Tags a "filing" (accession), "fact" (fact_id), "ticker" or "note".

Inputs: tag_name (required), note_text (required), target_id (required), target_type (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 23 tools

    Disambiguation4/5

    Most tools target distinct resources and actions, but a few boundaries are softer: pull_company vs pull_profile both retrieve company profiles from different sources, and log vs add_note vs tag/history can be confused by an agent. Descriptions generally clarify these, but not perfectly.

    Naming Consistency4/5

    The set mostly follows a verb_noun convention (start_project, create_list, pull_filings, query_market), with a few single-word exceptions like log, history, and tag. The pattern is clear enough to be predictable despite those deviations.

    Tool Count4/5

    23 tools is on the heavy side, but the server covers several broad domains: SEC/Yahoo ingestion, market/account querying, project/session tracking, lists, notes, skills, and XBRL concepts. The count is large yet each tool has a reasonably clear role.

    Completeness4/5

    The surface covers core lifecycle operations across sessions, lists, notes/tagging, skills/runs, concepts, and data pulls, with query_account/query_market providing a read path. Minor gaps remain around direct retrieval or update of some objects like notes, preferences, and concepts without relying on generic queries.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables Claude to access free official financial and economic data from SEC EDGAR, U.S. Treasury, FRED, and the World Bank, including XBRL financial statements, key metrics, filings, insider trades, 13F portfolios, market prices, and macroeconomic series.
      20
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables Claude to pull free, citable financial data for comps and DCF work — standardized SEC EDGAR XBRL financials, filing links, FRED Treasury yields, market prices and beta — with every value returned alongside its source concept, accession and filing URL. Provides read-only tools for company lookup, financials, filings, market data and peer comparison tables that need no API key.
      6
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables natural-language research across SEC filings, earnings call transcripts, company financials, stock and crypto market data, and prediction markets, returning structured, source-backed answers. It also exposes deep-research synthesis agents and live documentation search to Claude Desktop, Cursor, and other MCP clients.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Connects filing search and financial research tools to MCP-compatible assistants, letting them look up companies, query annual, quarterly and trailing-twelve-month financials, and ask questions answered with citations traceable to original SEC filings. It also supports company comparisons, valuation assumptions, and language selection for the returned research.
      MIT