Back to Browse

Brapi MCP Server

Developer ToolsUse Caution3.8MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

brapi.dev MCP — Brazilian stock + crypto + ETF quotes.

About

brapi.dev MCP — Brazilian stock + crypto + ETF quotes.

Remote endpoints: streamable-http: https://gateway.pipeworx.io/brapi/mcp

Security Report

3.8
Use Caution3.8High Risk

The brapi MCP pack is a keyless wrapper around the public brapi.dev API for Brazilian market data, and its core tools match that purpose with only network_http access. The main concern is that the README-documented gateway endpoint silently exposes about thirty shared Pipeworx meta-tools (including remember/recall and ask_pipeworx routing) beyond the pack's own tools, expanding what the connected agent can reach and routing traffic through a third-party gateway the user did not directly audit. The truncated source provided limits full verification of the tool callTool dispatch and any handling of the meta-tools. Supply chain analysis found 5 known vulnerabilities in dependencies (0 critical, 3 high severity).

3 files analyzed · 9 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

@pipeworx/brapi

brapi.dev MCP — keyless Brazilian stock + crypto + ETF quotes (B3 exchange).

Part of Pipeworx — an MCP gateway connecting AI agents to 1875+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.

Tools

  • quote_list(search?, limit?, sortBy?, sortOrder?, type?, sector?, page?) — list quotes
  • quote(tickers, range?, interval?, fundamental?, dividends?, modules?) — quote (comma-sep tickers like PETR4,VALE3)
  • available() — available tickers
  • crypto(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 series
  • prime_rate(country?, historical?, start?, end?, sortBy?, sortOrder?) — prime rate series

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 1875+ 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-brapi

It 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

Reviews

No reviews yet

Be the first to review this server!