78trust / 100

brapi

by brapi.dev in Markets & finance

MCP serverPassing, checked 9 h ago

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

https://brapi.dev/api/mcp/mcp
Tools
92
open to any client
Uptime
100%
last 30 days
Response time
427 ms
502 ms slowest 5%
Last check
Passed
9 h ago, next any minute now

Scan it nowHow to connect

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to connect

Add it to any MCP client that supports remote servers.

{
  "mcpServers": {
    "brapi-2": {
      "type": "http",
      "url": "https://brapi.dev/api/mcp/mcp"
    }
  }
}

92 tools

  • 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 inputSchema.

  • 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, name and description, with results…

  • 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 required. Use the exact parameter names…

  • 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 before calling this tool. Use the exact…

  • 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 exact parameter names and formats…

  • 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 exact parameter names and formats shown…

  • 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 in inputSchema.

  • 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 and formats shown in inputSchema.

  • 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 traded ticker. The ticker selects the…

  • 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-person controllers, chain (who owns the…

  • 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, fund, government, foreign), name…

  • 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 plan, the codes of its debentures that…

  • 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 inputSchema.

  • 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 shown in inputSchema.

  • 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), revenue without concession construction…

  • 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 excludes construction revenue when known…

  • 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 the units of the response: fractions use…

  • 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% of DI), interestRate (% a year on top…

  • 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), amortization schedule (every, unit…

  • 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 finds PETR3). Each story has our own…

  • 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, keyPoints and (with includeArticle) a…

  • 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 are unclear. Use the exact parameter…

  • 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_capabilities when limits are unclear. Use…

  • 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-BRL etc.) are NOT served here - use…

  • 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: required. Sign in to brapi or provide…

  • 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_account_capabilities when limits are…

  • 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_capabilities when limits are unclear…

  • 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 a paid plan. Call…

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTime
9 h agoPassed200427 ms
24 h agoPassed200502 ms
39 h agoPassed200382 ms
2 days agoPassed200444 ms
3 days agoPassed200418 ms