Skip to main content

sheets-finance-mcp

MCP server for the SheetsFinance formula catalog.

This package exposes three tools:

  • sf_search: search metrics/functions and get ranked metric_id candidates.
  • sf_formula: build validated SheetsFinance formulas from a metric_id or explicit function/category/metric fields.
  • sf_describe: inspect category/function metadata, metric lists, and examples.

What Is SheetsFinance?

SheetsFinance is a Google Sheets add-on for financial market/company data retrieval using spreadsheet formulas.

Installation

From this package directory:

pip install -e .

Run as a module:

python -m sheets_finance_mcp

Or via console script (installed by pyproject.toml):

sheets-finance-mcp

Claude Code MCP Config

{
  "mcpServers": {
    "sheetsfinance": {
      "command": "python",
      "args": ["-m", "sheets_finance_mcp"]
    }
  }
}

Tool Reference

Tool Purpose Typical Next Step
sf_search(query, limit=10) Find matching metrics/functions Use returned metric_id with sf_formula
sf_formula(...) Construct a formula string (single or multi-symbol) Paste formula in Sheets
sf_describe(target) Inspect category/function metrics and options Pick a metric/function for sf_formula

Example Workflow

  1. Search for a metric:

    sf_search(query="gross margin")
    
  2. Build a formula from the selected metric id:

    sf_formula(symbol="AAPL", metric_id="SF.ratios.grossProfitMargin")
    
  3. Inspect a category/function when needed:

    sf_describe(target="income")
    

For a non-SF function, symbol supplies the function signature's first argument, while the selected metric_id supplies the cataloged selector parameter. Pass all remaining named parameters through extra_args. For example, SF_OPTIONS_PRO.calls selects dataType="calls", while SF_BROKERAGE.holdings selects type="holdings"; in the latter case symbol contains the brokerage account nickname rather than a market ticker.

Metadata

Release files for sheets-finance-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sheets-finance-mcp 0.1.1
File Size Uploaded Provenance
sheets_finance_mcp-0.1.1.tar.gz 19.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sheets-finance-mcp 0.1.1
File Interpreter ABI Platform
sheets_finance_mcp-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 41.6 kB

Release files / sheets_finance_mcp-0.1.1.tar.gz

Download URL sheets_finance_mcp-0.1.1.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
84cf1081a06b5fd7f6b2be508f612107af42198e8d98c60be3671289ebb146f5
BLAKE2b-256 checksum
How to use checksums
30ed821ac35438f8dbd5f7696148c4aa7ca1b0faecabd908a195f3218842a5b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Release files / sheets_finance_mcp-0.1.1-py3-none-any.whl

Download URL sheets_finance_mcp-0.1.1-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7689f0ae0ba81561c24a74140de8886df97a8010fd9fe206d3aa0ffec8633d2b
BLAKE2b-256 checksum
How to use checksums
c04af28b65d242eb6d24a37663ab1f65567c4e50acf1762bed70c308fa24c0f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Security for sheets-finance-mcp 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page