sheets-finance-mcp
MCP server for the SheetsFinance formula catalog.
This package exposes three tools:
sf_search: search metrics/functions and get rankedmetric_idcandidates.sf_formula: build validated SheetsFinance formulas from ametric_idor 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
-
Search for a metric:
sf_search(query="gross margin")
-
Build a formula from the selected metric id:
sf_formula(symbol="AAPL", metric_id="SF.ratios.grossProfitMargin")
-
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.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sheets_finance_mcp-0.2.0.tar.gz | 19.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sheets_finance_mcp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.6 kB
Release files / sheets_finance_mcp-0.2.0.tar.gz
| Download URL | sheets_finance_mcp-0.2.0.tar.gz |
|---|---|
| Size | 19.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6bb50d4615c01a108f79558404df152fc8dcb241e63d056544dd8778c9c8db4
|
|
BLAKE2b-256 checksum How to use checksums |
8b322e5b0e40934c2fb47d858a673bb83d1f785da5a1d7bd7594e76713e29362
|
| 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.2.0-py3-none-any.whl
| Download URL | sheets_finance_mcp-0.2.0-py3-none-any.whl |
|---|---|
| Size | 21.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08cb57bafabb0c49fd86f9e89f72adf5ffc3626047de87a472c9214a6e5f291f
|
|
BLAKE2b-256 checksum How to use checksums |
830ce6317c98fe2562910e8ee3b90d52ab4060b58cdd086ab7c48f2d053812cf
|
| 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.2.0
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.