brapi
Click on "Deploy 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., "@brapiget quote for PETR4"
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.
@pipeworx/brapi
brapi.dev MCP — keyless Brazilian stock + crypto + ETF quotes (B3 exchange).
Part of Pipeworx — an MCP gateway connecting AI agents to 1683+ live data sources.
Tools
quote_list(search?, limit?, sortBy?, sortOrder?, type?, sector?, page?)— list quotesquote(tickers, range?, interval?, fundamental?, dividends?, modules?)— quote (comma-sep tickers likePETR4,VALE3)available()— available tickerscrypto(coin, currency?)— crypto quote (coin = BTC, ETH, …)currency(currency)— currency conversion (e.g.USD-BRL,EUR-BRL)inflation(country?, historical?, start?, end?, sortBy?, sortOrder?)— inflation seriesprime_rate(country?, historical?, start?, end?, sortBy?, sortOrder?)— prime rate series
Related MCP server: Yahoo Finance MCP Server
Data source
https://brapi.dev/api
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"brapi": {
"url": "https://gateway.pipeworx.io/brapi/mcp"
}
}
}What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/brapi/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}Both URLs reach the same gateway and the same 1683+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
curl -X POST https://gateway.pipeworx.io/v1/tools/quote_list \
-H 'Content-Type: application/json' \
-d '{"search":"PETR","limit":10,"sortBy":"name","sortOrder":"asc"}'No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/quote_list. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Standalone (no gateway account)
This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:
{
"mcpServers": {
"brapi": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-brapi"]
}
}
}Or run it directly to confirm it starts:
npx -y @pipeworx/mcp-brapiIt speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call
for only this pack's tools — none of the shared meta-tools the gateway
connection above adds. Same source, same tools, no ask_pipeworx routing.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Brapi data" })The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Brazilian investments MCP: B3 quotes, fundamentals, portfolio X-ray, theses and news for AI agents.
AI-powered commodity price forecasts and Brazil trade intelligence via MCP. Access Brazilian exports and imports from MDIC/ComexStat since 2000, by HS4, HS6 and NCM code, partner country, USD FOB and kilograms — plus crop production, supply & demand, climate data and production forecasts for major commodities including soybeans, coffee, corn, beef and cocoa. Compare trade flows, markets, countries and time periods with like-for-like windows. Every answer identifies the measurement period and data source. 15 read-only tools. Metered in credits. Connect directly via Streamable HTTP — no installation required: https://mcp.kyrodata.com/mcp Authentication: Bearer key or OAuth 2.1 (PKCE). Official MCP registry: com.kyrodata/kyrodata
Market Data App MCP — wraps the Market Data App API (marketdata.app)
Chile and LATAM data utilities: UF, RUT, business days, FX and VAT. Free daily MCP quota.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides tools to query Brazilian CNPJ (company registration), CEP (postal codes), and currency exchange rates (USD and EUR) through an MCP server.3MIT
- AlicenseAqualityDmaintenanceEnables querying stock data, financial information, news, and historical prices from Yahoo Finance through a set of MCP tools.5MIT
- AlicenseBqualityCmaintenanceMCP server for B3 (Brazilian stock exchange) data, offering tools for real-time quotes, historical prices, dividends, FIIs, fundamental analysis, options, and indices via natural language.9MIT
- AlicenseNot gradedqualityDmaintenanceProvides Brazilian financial market data (stocks, dividends, FIIs, crypto, exchange rates, macro indicators) from B3. Works with any MCP client via HTTP, read-only.MIT