Bolsai
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., "@Bolsaicompare PETR4 vs VALE3"
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.
Bolsai - MCP Server
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.
Quick Start
Get a free API key at usebolsai.com
Install:
pip install bolsai-mcpAdd to Claude Desktop (
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"
}
}
}
}Related MCP server: Financial Modeling Prep MCP Server
Tools
Tool | Description | Example Prompt |
| Current price, daily change, 52w range | "What's PETR4 trading at?" |
| 27+ indicators: P/L, P/VP, ROE, margins | "Show me VALE3 fundamentals" |
| Side-by-side comparison of up to 5 stocks | "Compare PETR4 vs VALE3 vs ITUB4" |
| Dividend yield, annual summary, payments | "What dividends did BBDC4 pay?" |
| Find companies by name or sector | "Find banks listed on B3" |
| OHLCV prices since 1986 with adjustments | "PETR4 prices last month" |
| FII fundamentals + distributions | "Show me HGLG11" |
| SELIC, IPCA, CDI, USD/BRL | "What's the current SELIC rate?" |
| Raw CVM income/balance/cash flow | "PETR4 income statement 2024" |
| Filter stocks by metrics | "Find stocks with DY > 8%" |
Example Conversations
"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.42Data Coverage
350+ stocks listed on B3
400+ FIIs (Real Estate Investment Funds)
40 years of price history (since 1986)
15+ years of fundamentals (since 2010)
27 indicators including P/L, P/VP, EV/EBITDA, ROE, ROIC, margins
Macro data: SELIC, IPCA, CDI, USD/BRL
Updated daily from official sources (B3, CVM, BCB)
Configuration
Environment Variable | Required | Default | Description |
| Yes | — | API key from usebolsai.com |
| No |
| API base URL |
API Tiers
Free: 200 requests/day. Stock quotes, current fundamentals, company search.
Pro (R$ 49/month): 10,000 requests/day. All tools including history, dividends, financials, macro.
Development
cd mcp-server
pip install -e ".[dev]"
pytest
ruff check . && ruff format .License
MIT
Maintenance
Latest Blog Posts
- 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/viniciuslazzari/bolsai-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server