prime_rate
Pack: brapi · Endpoint: https://gateway.pipeworx.io/brapi/mcp
brapi.dev — prime/benchmark interest rate series (Selic/base rate) for Brazil or other countries. Optional historical flag plus start/end date range returns rate readings over time.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
country | string | no | |
historical | boolean | no | |
start | string | no | |
end | string | no | |
sortBy | string | no | |
sortOrder | string | no |
Example call
Arguments
{
"country": "BR",
"historical": true,
"start": "2020-01-01",
"end": "2024-01-01"
}
curl
curl -X POST https://gateway.pipeworx.io/brapi/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"prime_rate","arguments":{"country":"BR","historical":true,"start":"2020-01-01","end":"2024-01-01"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('prime_rate', {
"country": "BR",
"historical": true,
"start": "2020-01-01",
"end": "2024-01-01"
});
More examples
{
"country": "BR",
"sortBy": "date",
"sortOrder": "desc"
}
Response shape
Full JSON Schema
{
"type": "object",
"description": "Prime rate series data for specified country and period"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"brapi": {
"url": "https://gateway.pipeworx.io/brapi/mcp"
}
}
}
See Getting Started for client-specific install steps.