L'Agora
MCPResponds

brapi

dev.brapi/mcp

Brazilian market data: B3 quotes, price history, dividends, fundamentals, funds, macro indicators.

No review yet · 0 questions Write a reviewAsk the authorFollow this entry

Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.

All projects by brapi.dev

Website
brapi.dev/docs/mcp
Server address
https://brapi.dev/api/mcp/mcp (streamable-http)
Version
1.0.0
Author
brapi.dev (namespace verified by the registry)
Source
Official MCP registry (updated Nov 30, 2026)

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Questions for the author

No question yet.

Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.

Continue with GoogleGet a link by email

How to install it

Claude Code

In a terminal:

claude mcp add --transport http mcp https://brapi.dev/api/mcp/mcp
Claude (app and claude.ai)

Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.

https://brapi.dev/api/mcp/mcp
ChatGPT

In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.

https://brapi.dev/api/mcp/mcp
Cursor ~/.cursor/mcp.json

Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):

{
  "mcpServers": {
    "mcp": {
      "url": "https://brapi.dev/api/mcp/mcp"
    }
  }
}
VS Code .vscode/mcp.json

Add this to your project’s .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://brapi.dev/api/mcp/mcp"
    }
  }
}

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

Responds The server speaks MCP and lists its tools.

Date
Nov 30, 2026, 08:55 (test run by L’Atlas)
Response time
956 ms (whole test)
Tools found
92
Announced name
brapi-mcp-server 1.0.0
Protocol
MCP 2025-11-25
Next test
Dec 7, 2026
See the tools (92)
  • get_available_stocks
    Get list of available Brazilian stocks, indexes, and financial instruments with advanced filtering options Authentication: not required. Use the exact parameter names and formats shown in inputSchema.
  • get_available_currencies
    Get list of available currency pairs for exchange rates Authentication: not required. Use the exact parameter names and formats shown in inputSchema.
  • get_available_cryptocurrencies
    Get list of available cryptocurrencies Authentication: not required. Use the exact parameter names and formats shown in inputSchema.
  • get_available_inflation_countries
    Get list of countries with available inflation data Authentication: not required. Use the exact parameter names and formats shown in inputSchema.
  • get_tickers
    Search and filter available B3 tickers in brapi. Use for autocomplete, ticker validation, and discovering stocks, FIIs, ETFs, BDRs, units, and indexes. Authentication: not required. Use the exact parameter names and formats shown in inputSc
  • get_ticker_renames
    List known B3 ticker renames with old ticker, current canonical ticker, and effective date. Authentication: not required. Use the exact parameter names and formats shown in inputSchema.
  • resolve_tickers
    Resolve old B3 tickers to the current ticker recommended by brapi. Current tickers are returned unchanged. Authentication: not required. Use the exact parameter names and formats shown in inputSchema.
  • get_ticker_coverage
    Check which brapi data surfaces are available for B3 tickers and get recommended endpoints. Accepts up to 20 comma-separated symbols per call. Authentication: not required. Use the exact parameter names and formats shown in inputSchema.
  • get_macro_series_available
    List macroeconomic series available in brapi (slug, name, unit, frequency, category). Public - no auth required. Use this for discovery before calling get_macro_series. Optional `q` does case-insensitive substring search across slug, alias,
  • get_dictionary
    Explain brapi API fields with the Portuguese label, description, calculation, endpoint references, type, and unit. Use this tool when a response field is unclear instead of guessing. Filter by search term or category. Authentication: not re
  • get_account_capabilities
    Get the authenticated brapi account plan, request limits, valid historical ranges, and feature access. Call this once when a protected tool's limits are unclear. Authentication: required. Sign in to brapi or provide a valid Bearer token bef
  • get_stock_quotes
    Get current and historical data for Brazilian stocks, indexes, or ETFs including price quotes, financial statements, and dividends Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the
  • get_stock_quote
    Get v2 stock quote snapshots from /api/v2/stocks/quote: price, change, volume, market cap, day range, 52-week range, and logo. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exac
  • get_stock_historical
    Get v2 OHLCV historical prices from /api/v2/stocks/historical for one or more B3 tickers. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown i
  • get_stock_dividends
    Get v2 dividends/JCP for stock-like B3 tickers from /api/v2/stocks/dividends. Use get_fii_dividends for FIIs. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names
  • get_stock_insider_transactions
    Get monthly CVM insider transaction reports from /api/v2/stocks/insider-transactions. Rows group controllers, board members, directors, fiscal council, and other statutory bodies with related persons. Rows do not name each person or the tra
  • get_stock_shareholders
    Get who owns B3 companies from /api/v2/stocks/shareholders: controllers and holders of 5% or more with their share of common (voting), preferred and total shares, treasury shares, other holders, free float, holder counts, the ultimate non-p
  • get_ownership_network
    Get the ownership network between companies, funds, governments and people from /api/v2/stocks/ownership-network, for charts and for questions such as "who controls what" or "are there cross-holdings". nodes have id, kind (company, person,
  • get_stock_earnings_calendar
    Get quarterly (ITR) and annual (DFP) results release dates of B3 companies and of foreign companies with BDRs from /api/v2/stocks/earnings-calendar. Each row is one company and fiscal period, with its CNPJ, all its tickers, and, on the Pro
  • get_stock_profile
    Get v2 company/profile fundamentals from /api/v2/stocks/profile. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.
  • get_stock_statistics
    Get v2 stock statistics from /api/v2/stocks/statistics, either current or historical. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in in
  • get_stock_financial_data
    Get v2 stock financial data from /api/v2/stocks/financial-data, either current or historical. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats sho
  • get_stock_balance_sheet
    Get v2 balance sheet statements from /api/v2/stocks/balance-sheet. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.
  • get_stock_income_statement
    Get v2 income statements from /api/v2/stocks/income-statement. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.
  • get_stock_cash_flow
    Get v2 cash-flow statements from /api/v2/stocks/cash-flow. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.
  • get_stock_value_added
    Get v2 value-added statements from /api/v2/stocks/value-added. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.
  • get_revenue_sources
    Get annual revenue by reported segment from /api/v2/revenue-sources for B3 stocks, BDRs, FIIs and Fiagros; period=quarterly gives B3 companies' quarters instead. Each segment has a shared activity code, growth vs the prior year (fraction),
  • get_revenue_sources_compare
    Compare revenue growth of every issuer with revenue in one activity (children included) from /api/v2/revenue-sources/compare. Segments of the same issuer are summed per fiscal year. Growth is a fraction; for concession activities it exclude
  • get_stock_screener
    Filter and rank B3 stocks by price and fundamentals from /api/v2/stocks/screener: P/L, P/VP, dividend yield, ROE, margins, debt, growth, and more. One call scans every asset. Each metric accepts {metric}Min and {metric}Max, inclusive, in th
  • get_debenture_list
    List Brazilian corporate debentures from /api/v2/debentures/list: issuer CNPJ, name and primary ticker (issuerTicker, when the issuer has listed shares), index (di, ipca, pre, igp-m, inpc, tr, usd, eur, none), indexPercent (e.g. 110 for 110
  • get_debenture_profile
    Get the full terms of Brazilian corporate debentures from /api/v2/debentures/profile: the list fields plus profitability start date, CVM registration, earlyRedemptionAllowed, interest schedule (every, unit month or day, dayCount 252/360/365
  • get_company_news
    Get news about B3 companies and assets from /api/v2/news: earnings, dividends, M&A, financing, buybacks, ratings, analyst calls, management and legal events. Filter by tickers; a share ticker also matches the issuer's other classes (PETR4 f
  • get_market_news
    Get Brazilian and Latin American market and economy news from /api/v2/news/market: interest rates and Selic, inflation, FX, public accounts, politics, the Ibovespa and economists' views. Each story has our own AI-written title, summary, key
  • get_currency_rates
    Get current exchange rates for currency pairs Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits
  • get_crypto_prices
    Get current and historical cryptocurrency prices with market data Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capab
  • get_macro_series
    Get historical observations for Brazilian macroeconomic series (Selic, IPCA, IGP-M, CDI, IBC-Br, etc.). Pass slugs in `symbols` (comma-separated, e.g. `selic,ipca,igpm`). Use get_macro_series_available to discover slugs. Currency pairs (USD
  • get_macro_series_latest
    Get only the most recent observation for each requested macroeconomic series. Lighter than get_macro_series when you just need the current Selic / IPCA / CDI value. FX pairs are not served here - use the currency endpoints. Authentication:
  • get_inflation_data
    Get inflation data for Brazil (IPCA, IGPM) with period filtering options Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_accoun
  • get_prime_rate_data
    Get Brazil's prime rate (SELIC) data with period and sorting options Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_ca
  • get_option_expirations
    List available option expiration dates for a given Brazilian underlying asset (stock, ETF, or index) Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require
  • get_option_strikes
    List available option strike prices for a given Brazilian underlying asset on a specific expiration date Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may requ
  • get_option_chain
    Get the option chain (traded series with OHLCV snapshot) for a Brazilian underlying asset on a specific expiration date Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this d
  • get_option_historical
    Get daily EOD historical price data (OHLCV, bid/ask, trades, financial volume) for a single option series identified by its symbol and expiration date Authentication: required. Sign in to brapi or provide a valid Bearer token before calling
  • get_option_analytics
    Get EOD implied volatility and Greeks for traded Brazilian option series for an underlying asset on a specific expiration date. Fields are null with nullReason when the calculation cannot be produced from observed data. Authentication: requ
  • get_option_analytics_history
    Get the daily EOD implied volatility and Greeks time series for a single Brazilian option series identified by symbol and expiration date. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool.
  • get_option_positions
    Get open interest (open contracts) per option series for a Brazilian underlying asset on a specific expiration date. Includes the covered, uncovered and blocked position breakdown. Open interest counts contracts still alive, unlike volume,
  • get_option_positions_history
    Get the daily open interest time series for a single Brazilian option series identified by symbol and expiration date. Use it to see a position being built up or unwound over time. Authentication: required. Sign in to brapi or provide a val
  • get_futures_list
    List available Brazilian futures contracts (mini Ibovespa, mini Dolar, full index/dollar, DI rate, agribusiness: boi, café, milho, soja). Paginated with filters by underlying asset and segment. Authentication: required. Sign in to brapi or
  • get_futures_quote
    Get EOD snapshot quote for one or more Brazilian futures contracts. Returns OHLC, daily settlement price (AdjstdQt), settlement rate (AdjstdQtTax - populated for DI/rate-quoted contracts only), oscillation, number of trades, contract quanti
  • get_futures_specs
    Get contract specifications (without pricing) for one or more Brazilian futures: expiration date, contract multiplier (e.g., WIN = 0.2, BGI = 330 arrobas, DI1 = 1), allocation round lot, ISIN, CFI, trading currency, delivery type, and quota
  • get_futures_historical
    Get daily EOD time series for a single Brazilian futures contract. Each point has OHLC, settlement price, settlement rate (DI/DAP only), reference price, oscillation, trades, contract quantity and financial volume. For DI1/DAP/DI contracts,
  • get_futures_term_structure
    Get the full term structure (all live contracts) for a Brazilian futures underlying asset. Returns one row per expiration, ordered by date ascending, each with the latest EOD pricing. Useful for plotting the DI yield curve, contango/backwar
  • get_futures_option_expirations
    List available option expiration dates for a Brazilian futures underlying (options on futures: e.g., options on BGI live cattle, ICF coffee, CCM corn, SJC soybean). These options have their own expiration calendar, often different from the
  • get_futures_option_strikes
    List available strike prices for options on a Brazilian futures contract at a given expiration. Pair with get_futures_option_chain to fetch traded series with prices. Authentication: required. Sign in to brapi or provide a valid Bearer toke
  • get_futures_option_chain
    Get the option chain (traded series with last EOD prices) for a Brazilian futures underlying at a specific expiration. Each series carries optionStyle (american/european), strike, contractMultiplier, allocationRoundLot, plus OHLC/volume/osc
  • get_futures_option_historical
    Get the daily EOD historical OHLC time series for a single option on a Brazilian futures contract. Returns the option specs (strike, optionStyle, expiration, multiplier) plus traded-day points (referencePrice + OHLC + oscillation + trades +
  • get_futures_option_analytics
    Get EOD implied volatility and Greeks for options on Brazilian futures for an underlying asset at a specific expiration. European options use Black-76; American options use a binomial futures model. Fields are null with nullReason when the
  • get_futures_option_analytics_history
    Get the daily EOD implied volatility and Greeks time series for a single option on a Brazilian futures contract. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset
  • get_futures_option_positions
    Get open interest (open contracts) per option series for a Brazilian futures underlying at a specific expiration. Open interest counts contracts still alive, unlike volume, which counts contracts traded during the session. The covered/uncov
  • get_futures_option_positions_history
    Get the daily open interest time series for a single option on a Brazilian futures contract. Use it to see a position being built up or unwound over time. Authentication: required. Sign in to brapi or provide a valid Bearer token before cal
  • get_fii_list
    List Brazilian Real Estate Investment Funds (FIIs) with optional filters by symbols, CNPJs, segment type, sector, mandate and management type. Returns paginated results with current indicators (price, P/VP, dividend yield) and administrator
  • get_fii_indicators
    Get current fundamental indicators for one or more Brazilian Real Estate Investment Funds (FIIs). Returns P/VP (price-to-NAV), dividend yield (12m and 1m), monthly return, equity, total assets, total investors, and administrator info. Authe
  • get_fii_indicators_history
    Get monthly historical evolution of fundamental indicators (price, P/VP, dividend yield, monthly return, total investors, equity, total assets) for one or more Brazilian FIIs. Useful for charting trends and comparing periods. Authentication
  • get_fii_historical
    Get daily OHLCV historical price data for one or more Brazilian Real Estate Investment Funds (FIIs). Returns open, high, low, close, volume and adjusted close per day, grouped by symbol. Authentication: required. Sign in to brapi or provide
  • get_fii_properties
    Get FII physical properties with vacancy first-class: area, address, unit count, vacancy rate, delinquency rate, revenue share and consolidated area-weighted vacancy. Rate fields are decimal ratios (0.0328 = 3.28%). Best endpoint for brick-
  • get_fii_properties_history
    Get quarterly time series of FII physical-property summaries: property count, total area, area-weighted vacancy, average vacancy and number of properties with vacancy data. Best for charting vacancy trends before drilling into get_fii_prope
  • get_fii_portfolio
    Get normalized FII portfolio composition grouped by fund: summary, allocations, CRIs, FII fund holdings, properties, lands and rights. Best for FoFs, paper FIIs, issuer concentration and full holdings analysis. Authentication: required. Sig
  • get_fii_portfolio_history
    Get quarterly time series of normalized FII portfolio summaries: total items, declared value, property summary, financial-asset summary and allocations by asset class. Best for charting portfolio composition before drilling into get_fii_por
  • get_fii_reports
    Get monthly CVM management reports for Brazilian FIIs with full asset composition (real estate, CRI, LCI, fund holdings, cash, government/private bonds), profitability (monthly return, monthly dividend yield), fees and liabilities. Most com
  • get_fii_dividends
    Get historical dividends (rendimentos and amortizações) for one or more Brazilian FIIs. Returns rate per share, cum-dividend date (lastDatePrior), payment date and label. Actual dates from the maintained FII dividend source take precedence;
  • get_funds_list
    List Brazilian funds across FIIs, FIAGROs, FI-Infra/FIFs, FIDCs and FIPs. Use for discovery by symbol, CNPJ, search text or asset type. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Pla
  • get_funds_indicators
    Get current indicators for specific Brazilian funds. Requires symbols or cnpjs; returns market price, NAV per share, P/NAV, equity, assets and investor count. Authentication: required. Sign in to brapi or provide a valid Bearer token before
  • get_funds_nav_history
    Get NAV history for specific funds. FI/FIF data is daily; FIDC data is monthly by quota class or series and includes official monthly return. Requires symbols or cnpjs; market OHLCV price is separate from NAV. Authentication: required. Sign
  • get_funds_profile
    Get monthly profile sections for specific FI/FIF funds. Requires symbols or cnpjs; includes investor breakdown, risk, liquidity, concentration and private-credit exposure. Authentication: required. Sign in to brapi or provide a valid Bearer
  • get_funds_portfolio
    Get holdings for specific FI/FIF funds grouped into public bonds, fund holdings, credit assets, listed securities, receivables and payables. Requires symbols or cnpjs. Authentication: required. Sign in to brapi or provide a valid Bearer tok
  • get_funds_holdings
    Get the composition of a fund or ETF in one month: each asset with its weight in net assets, and totals by asset class, country and sector. Merges repeated positions. view=lookthrough (default) opens every position in another fund, ETF or E
  • get_funds_exposure
    Get the final exposure of a portfolio: each position (B3 stock, unit, BDR, ETF, ETF BDR or fund CNPJ) opens to its final assets, and the result joins them by company, country, sector and asset class. A stock held directly joins the same com
  • get_funds_crowding
    Get how much money all Brazilian funds hold in each company in a month and the month's net buying or selling (flowValue: bought minus sold at the month's price, with the rules of get_funds_holders change). A company joins its share classes,
  • get_funds_holders
    Get the funds that hold a B3 asset (symbol, e.g. PETR4), the quotas of a fund (cnpj of a fund), or the shares and debt of a company (cnpj of a company: all its tickers, its debentures and other debt it issued), with value and weight in each
  • get_funds_holdings_history
    Get the position of one fund in one asset month by month: weight in net assets, value and quantity. Fund by symbol or cnpj; asset by ticker (asset) or by assetCnpj (a fund's quotas, or a company's shares and debt as in get_funds_holders). A
  • get_index_composition
    Get the assets and weights of an index (IBOV, SMLL, IDIV, IMAB, SP500, ...) from the holdings of the largest ETF that replicates it. Approximated: not the official index portfolio. Weights are on the ETF's invested part and add up to 100. W
  • get_funds_dividends
    Get exact official dividend events for non-FII listed funds such as ETFs, FIAGRO, FI-Infra/FIF, FIDC and FIP. Returns declared date, ex-date (lastDatePrior), payment date, rate and label. Use get_fii_dividends for FIIs. Authentication: requ
  • get_fiagro_reports
    Get monthly FIAGRO reports for specific funds by symbol or CNPJ, including PL, NAV, investors and monthly DY. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may
  • get_fiagro_portfolio
    Get grouped FIAGRO allocation sections for specific funds. Requires symbols or cnpjs; includes agro credit, maturity, liabilities and investor breakdown. Authentication: required. Sign in to brapi or provide a valid Bearer token before call
  • get_fidc_reports
    Get monthly FIDC report rows for specific funds by CNPJ, or by symbol when listed mapping exists. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a p
  • get_fidc_portfolio
    Get FIDC grouped portfolio/risk sections for specific funds. Requires symbols or cnpjs; includes sectors, maturity, delinquency, risk, quota classes and investors. Authentication: required. Sign in to brapi or provide a valid Bearer token b
  • get_fip_reports
    Get structured FIP report rows for specific funds. Requires symbols or cnpjs; CNPJ is the canonical lookup key for most FIPs. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access:
  • get_fii_financials
    Get FII DFIN financial reports by symbol or CNPJ. Does not include FIAGRO, FI-Infra, FIDC or FIP rows. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may requir
  • get_fii_annual_reports
    Get FII annual report rows by symbol or CNPJ. These are separate from monthly reports and quarterly portfolio/properties endpoints. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan ac
  • get_treasury_list
    List Tesouro Direto public bonds with current indicative rates and prices. Supports filtering by public symbol/name, indexer (selic, prefixado, ipca, igpm), coupon type, sorting and pagination. Authentication: required. Sign in to brapi or
  • get_treasury_indicators
    Get the latest indicative rates and prices for one or more Tesouro Direto public bonds. Symbols are public brapi slugs like tesouro-selic-01032031. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling th
  • get_treasury_indicators_history
    Get daily historical Tesouro Direto rates and unit prices for one or more public bonds. When dates are omitted, returns the last 12 months. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool.

What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more

Cite this entry

For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.

brapi · L’Agora · Tested on

[brapi — L’Agora](https://lagora.dev/en/entry/dev.brapi/mcp)

Sources, methodology and limitations

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

dev.brapi/mcp on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![dev.brapi/mcp on L’Agora](https://lagora.dev/badge/dev.brapi/mcp.svg?lang=en)](https://lagora.dev/en/entry/dev.brapi/mcp)

HTML

<a href="https://lagora.dev/en/entry/dev.brapi/mcp"><img src="https://lagora.dev/badge/dev.brapi/mcp.svg?lang=en" alt="dev.brapi/mcp on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

Report this entry