finary-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@finary-mcpwhat's my current portfolio allocation?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
finary-mcp
A deliberately read-only Model Context Protocol server for Finary, built on top of the unofficial finary-uapi client.
This project is independent from Finary and is not endorsed, supported or maintained by Finary. It depends on private, undocumented endpoints viafinary-uapi; either project can break without notice. It is not financial, tax, legal, or investment advice.
Safety model
finary-mcp is intentionally a narrow, read-only adapter:
It exposes only profile, organization, institution, portfolio and transaction queries.
It has no login, account import, create, update, delete, transfer, trade or generic CLI tool.
It constructs
finary-uapicommands from a fixed allowlist, without a shell.Filter values are validated before execution.
It returns no upstream stdout/stderr when a request fails, because an upstream login flow may print session material.
Its state directory is explicit (
FINARY_MCP_STATE_DIR); it does not look for tokens in arbitrary working directories.
This reduces accidental writes through MCP. It does not make a machine safe if another process can read your session files. Run the server only for an account and profile you trust.
Important authentication caveat
“Read-only” refers to Finary portfolio data. finary-uapi refreshes its Clerk session before requests and can rewrite jwt.json; therefore the private state directory must remain writable by the local service account even though no MCP tool changes Finary data. The server never returns that file, cookies, or child-process diagnostics.
finary-uapi also brings fuzzywuzzy as a transitive GPL-2.0 dependency. Review the upstream dependency graph and licensing implications for your intended distribution or deployment.
Related MCP server: C6 Bank MCP
Prerequisites
Python 3.10+.
A local Finary session already created by
finary-uapi.A private directory containing both
jwt.jsonandlocalCookiesMozilla.txt, mode0700for the directory and0600for files.
The server does not support Google OAuth itself. Follow the authentication process supported by finary-uapi to create or renew the local session. Never send a password, TOTP code, JWT, cookie export, or session file to an agent, repository, issue tracker, or chat.
Install
python -m venv .venv
. .venv/bin/activate
pip install finary-mcpFor development from a checkout:
pip install -e '.[dev]'
pytest -qConfigure an MCP host
Set FINARY_MCP_STATE_DIR to the directory that holds your Finary session. If finary-uapi is installed in a separate virtual environment, set FINARY_UAPI_PYTHON to that environment's Python executable.
Example generic stdio configuration:
{
"mcpServers": {
"finary": {
"command": "/path/to/finary-mcp/.venv/bin/finary-mcp",
"env": {
"FINARY_MCP_STATE_DIR": "/private/path/to/finary-state",
"FINARY_UAPI_PYTHON": "/path/to/finary-uapi/.venv/bin/python"
}
}
}
}Use absolute paths. The state directory is private data and must never be committed. The supplied .gitignore excludes the known session files.
Hermes Agent example
mcp_servers:
finary:
command: /path/to/finary-mcp/.venv/bin/finary-mcp
env:
FINARY_MCP_STATE_DIR: /private/path/to/finary-state
FINARY_UAPI_PYTHON: /path/to/finary-uapi/.venv/bin/python
tools:
include:
- finary_me
- finary_organizations
- finary_institution_connections
- finary_portfolio
- finary_transactionsAdd this through Hermes' MCP/configuration workflow rather than copying credentials into a public configuration file. Restart the Hermes process after adding a server so tool discovery runs again.
Tools
Tool | Read-only purpose |
| Read the authenticated profile. |
| List accessible Finary organizations. |
| List financial-institution connections. |
| Read an allowed portfolio class: investments, securities, cryptos, fonds euro, SCPI, real estate or holding accounts. |
| Read checking, investment or credit transactions with pagination and date/account filters. |
Dependency: finary-uapi
This project is an adapter, not a reimplementation of Finary's API. It calls the finary-uapi CLI from the lasconic/finary_uapi project, whose package is currently declared in pyproject.toml as finary-uapi>=0.2.3,<0.3.
That dependency uses undocumented Finary endpoints and persists a local session. Review its source and license before using this server. When an upstream upgrade is needed, test it in a separate environment first and pin a compatible version here.
Development
pytest -q
python -m buildTests use no live Finary account and must not create session files. Before publishing, scan the staged files for jwt.json, localCookiesMozilla.txt, credentials, emails, cookies, and tokens.
License
MIT. See LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceExposes personal-finance tools like accounts, transactions, spending analysis, budgets, bills, reminders, portfolio, and goals via MCP, enabling any MCP client to query financial data.
- AlicenseNot gradedqualityCmaintenanceEnables reading C6 Bank account balances, statements, credit card bills, and investments via Open Finance Brasil. It is read-only and regulated by the Central Bank of Brazil.MIT
- AlicenseNot gradedqualityBmaintenanceA read-only MCP server exposing Brazilian Open Finance personal financial data from Pluggy to MCP clients, enabling listing of connections, accounts, transactions, credit card bills, investments, and loans without moving money.MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to read Webull account balances, positions, orders, stock quotes, historical bars, and US option market data, with live equity trading available only as an explicitly enabled opt-in.MIT
Related MCP Connectors
Read-only MCP access to sessions, funnels, campaigns, errors, live visitors, and anomalies.
Brazilian Open Finance MCP — 30+ banks (Itaú, Nubank, etc.) to Claude/Cursor. Read-only.
Public read-only Précis Finance MCP demo with synthetic data; no account or credentials required.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/adagues/finary-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server