
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
bolsai-mcp
Advanced tools
Brazilian financial market data for AI assistants. Query stock prices, fundamentals, dividends, FIIs, and macro indicators from the Brazilian market (B3, CVM, BCB) directly from Claude.
Get a free API key at usebolsai.com
Install:
pip install bolsai-mcp
claude_desktop_config.json):{
"mcpServers": {
"bolsai": {
"command": "uvx",
"args": ["bolsai-mcp"],
"env": {
"BOLSAI_API_KEY": "sk_your_key_here"
}
}
}
}
Or for Claude Code (.mcp.json):
{
"mcpServers": {
"bolsai": {
"command": "bolsai-mcp",
"env": {
"BOLSAI_API_KEY": "sk_your_key_here"
}
}
}
}
| Tool | Description | Example Prompt |
|---|---|---|
get_stock_quote | Current price, daily change, 52w range | "What's PETR4 trading at?" |
get_fundamentals | 27+ indicators: P/L, P/VP, ROE, margins | "Show me VALE3 fundamentals" |
compare_stocks | Side-by-side comparison of up to 5 stocks | "Compare PETR4 vs VALE3 vs ITUB4" |
get_dividends | Dividend yield, annual summary, payments | "What dividends did BBDC4 pay?" |
search_companies | Find companies by name or sector | "Find banks listed on B3" |
get_price_history | OHLCV prices since 1986 with adjustments | "PETR4 prices last month" |
get_fii_details | FII fundamentals + distributions | "Show me HGLG11" |
get_macro_indicator | SELIC, IPCA, CDI, USD/BRL | "What's the current SELIC rate?" |
get_financial_statements | Raw CVM income/balance/cash flow | "PETR4 income statement 2024" |
screen_stocks | Filter stocks by metrics | "Find stocks with DY > 8%" |
"What's PETR4 trading at?"
PETR4
Price: R$ 36.19
Change: +R$ 0.53 (+1.49%)
Date: 2024-12-30
52-week: R$ 28.44 – R$ 42.15
YTD: +12.34%
"Compare PETR4 vs VALE3"
Comparison: PETR4 vs VALE3
Metric PETR4 VALE3
─────────────────────────────────────
P/L 4.89 5.23
P/VP 1.12 1.45
EV/EBITDA 3.21 3.87
ROE 33.20% 27.70%
Net Margin 24.50% 23.10%
DY 12.30% 9.90%
Price R$ 36.19 R$ 58.42
| Environment Variable | Required | Default | Description |
|---|---|---|---|
BOLSAI_API_KEY | Yes | — | API key from usebolsai.com |
BOLSAI_BASE_URL | No | https://usebolsai.com/api/v1 | API base URL |
cd mcp-server
pip install -e ".[dev]"
pytest
ruff check . && ruff format .
MIT
FAQs
MCP server for bolsai Brazilian financial data API
The pypi package bolsai-mcp receives a total of 70 weekly downloads. As such, bolsai-mcp popularity was classified as not popular.
We found that bolsai-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.