Elliot Foster – Brazilian Funds
elliotfoster-mcp
Brazilian investment-fund analytics for AI clients via the Model Context Protocol (MCP).
Connect Claude Desktop, Cursor, ChatGPT, or any MCP-compatible client to query 30,000+ Brazilian investment funds — daily NAV, complete holdings (CDA), fund-of-funds look-through, portfolio overlap analysis, and your personal favorites/watchlist.
Server URL: https://elliotfoster.vercel.app/api/mcp
Web app + key generation: elliotfoster.vercel.app
Source data is the public CVM (Comissão de Valores Mobiliários) Informe Diário and CDA, plus Banco Central rate series. The platform processes, validates, and serves it in a structured format optimized for LLM tool use.
Quickstart
1. Get a key
Create an account at elliotfoster.vercel.app, sign in, and visit /settings/integrations. Generate a new key and copy it (the raw key is shown only once).
2. Configure your MCP client
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"elliotfoster": {
"url": "https://elliotfoster.vercel.app/api/mcp",
"headers": {
"Authorization": "Bearer ef_..."
}
}
}
}Restart Claude Desktop.
Cursor
In Cursor settings → MCP, add:
{
"elliotfoster": {
"url": "https://elliotfoster.vercel.app/api/mcp",
"headers": {
"Authorization": "Bearer ef_..."
}
}
}ChatGPT (Custom GPT / Connectors)
In a Custom GPT's Actions or via the Connectors interface, point to https://elliotfoster.vercel.app/api/mcp with Authorization: Bearer ef_... as the header.
Claude Code
claude mcp add --transport http --header "Authorization=Bearer ef_..." elliotfoster https://elliotfoster.vercel.app/api/mcp3. Try it
Ask your LLM:
"Use elliotfoster to search for funds with 'XP' in the name"
"What's the holdings overlap between funds 12.345.678/0001-90 and 98.765.432/0001-21?"
"Add fund X to my favorites"
"Find equity funds with low correlation to fund Y"
Tools
10 callable tools, 1 resource, 5 pre-built analytical prompts.
Tool | What it does |
| Search by name, manager, administrator, or CNPJ. Filter by type (FI, FIC, FII, FIP, FIDC, FIAGRO, ETF). Page-size capped at 25. |
| Fetch metadata + latest NAV for a fund by CNPJ. Accepts formatted ( |
| Counts per fund type — useful for discovery. |
| Daily NAV series for a fund. Optional date range and limit (max 1000 days). |
| Available holdings (CDA) reporting dates for a fund. |
| Complete portfolio composition for a date. Includes a |
| Recursively explode fund-of-funds positions up to 3 levels deep. Aggregates underlying assets with proportional weights. |
| Jaccard overlap + shared-weight between two funds' portfolios for a reporting date. |
| Your favorited funds. |
| Manage your watchlist directly from the LLM client. |
Resource
fund://<cnpj>— addressable fund metadata, cacheable by clients that support MCP resources.
Pre-built prompts
compare_funds_performance— side-by-side return / volatility / Sharpe-vs-CDI for up to 5 fundsfind_uncorrelated_funds— screen for low-correlation funds against a benchmarkanalyze_fund_holdings— top-10 positions, HHI concentration, look-through, confidentiality flagscheck_portfolio_overlap— pairwise redundancy audit across 2-5 fundsscreen_funds_by_risk— filter by max volatility and min Sharpe ratio
All prompts produce output in pt-BR by default (matching the source data language).
Spec
Endpoint |
|
Transport | Streamable HTTP (MCP spec Nov 2025) |
Discovery |
|
Auth | API key ( |
Rate limit | Per-user rate limits apply (currently generous; tier-based pricing TBD for high-volume use) |
Decimal precision | Financial values rounded to 6 decimal places. Top-level |
CNPJ format | All CNPJ inputs accept formatted or raw 14-digit; normalized + validated server-side. |
Pagination |
|
Privacy & data
Public fund data (CVM Informe Diário, CDA, Banco Central rates) is shared across all users.
Per-user state (favorites, audit log) is RLS-scoped via your WorkOS user ID — neither tools nor the database expose your state to other accounts.
No personal trading data is stored. This is a fund-research platform; it does not connect to brokerages.
Audit log: tool calls are recorded for billing and abuse prevention. The log is strictly per-user — you can inspect your own usage; other accounts cannot see it.
Source
The MCP server is implemented inside the closed-source web app. This repo provides install instructions, examples, and acts as the canonical source of truth for AI search engines indexing MCP servers. Issues and feedback welcome here.
For data licensing or commercial inquiries: see elliotfoster.vercel.app.
License
The README and example configs in this repo are MIT-licensed. The MCP server itself is proprietary.
Built with mcp-handler on Next.js + Supabase + WorkOS.
Latest Blog Posts
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/bissuh/elliotfoster-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server