GoldenPi Bonds MCP Server
Click on "Install 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., "@GoldenPi Bonds MCP Servershow AAA rated bonds with yield above 9%"
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.
GoldenPi Bonds MCP Server
A Model Context Protocol server that exposes GoldenPi's reverse-engineered bond discovery APIs.
Tools:
goldenpi_list_bonds— filtered, paginated bond listing viaPOST /v0/bonds/listgoldenpi_search_bonds— free-text bond search viaPOST /v0/bonds/search
Installation
cd goldenpi-mcp
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
cp .env.example .envRelated MCP server: Tesouro Direto MCP Server
Configuration
Copy .env.example to .env and edit as needed:
cp .env.example .envKey variables:
Variable | Default | Purpose |
|
| GoldenPi API base URL |
| (none) | Optional static token. If unset or rejected, the server falls back to |
|
| Partner ID sent during handshake |
|
| Set to |
|
|
|
|
| SSE server bind address |
Auth behavior:
Uses
GOLDENPI_CLIENT_TOKENif set.If the static token fails with an auth/header error, automatically calls
POST /v0/auth/handshaketo obtain a guest token and retries.If handshake also fails, the server exits immediately with a clear error.
Note: As of the latest test, the embedded static token from the frontend bundle is rejected by the live API. The handshake guest token works, so leaving GOLDENPI_CLIENT_TOKEN unset (or commented out) is the most reliable default.
Header note: The frontend only sends x-gpi-client-token on POST requests. Sending x-gpi-client-depositoryid on POST /v0/bonds/list causes an "invalid header" error, so this server does not send it by default. Set GOLDENPI_SEND_DEPOSITORY_HEADER=1 only if you specifically need it.
Running locally (stdio / OpenCode / Claude Desktop)
python -m goldenpi_mcp.serverOpenCode / Claude Desktop config:
{
"mcpServers": {
"goldenpi-bonds": {
"command": "python",
"args": ["-m", "goldenpi_mcp.server"],
"env": {
"GOLDENPI_DEPOSITORY_ID": "GoldenPi"
}
}
}
}Running for ChatGPT / SSE clients
python -m goldenpi_mcp.server --transport sse --host 0.0.0.0 --port 8080Your ChatGPT app should connect to:
http://localhost:8080/sseTool reference
goldenpi_list_bonds
Filtered, paginated bond discovery via POST /v0/bonds/list. Does not support free-text search — use goldenpi_search_bonds for name/ISIN/issuer queries.
Pagination & sorting
Parameter | Type | Description |
| enum | How to sort. Default: |
| int | Results per page. Range: 1–50. Default: 10. |
| int | 1-based page number. Default: 1. |
Core filters
Parameter | Type | Description |
| list | Instrument types: |
| list |
|
| number | YTMC % range. Omit either side for open-ended. |
| number | Settlement amount per lot in INR. |
| list |
|
| list |
|
| int | Remaining tenure in whole months. Ignored if |
| enum | Shortcut: |
| enum | Strategy preset applying multiple filters at once, e.g. |
Boolean flags
Parameter | Description |
| Tax-free bonds only. Mutually exclusive with |
| Taxable bonds only. |
| NRI-eligible bonds only. |
| Secured or unsecured only. Mutually exclusive. |
| Perpetual or non-perpetual only. Mutually exclusive. |
| With or without call option. Mutually exclusive. |
| Accepted as pledge for F&O margin. |
| HUF tax exemption available. |
| Featured/spotlight bonds only. |
Advanced filters
Parameter | Type | Description |
| enum |
|
| list |
|
| enum |
|
| enum |
|
| enum |
|
| enum |
|
| list | Override listing filter. |
| bool | Include featured/UTSAV campaign metadata. |
Output:
{
"totalCount": 123,
"filteredCount": 45,
"hasMore": true,
"bonds": [ /* full instList rows */ ]
}goldenpi_search_bonds
Free-text search across bonds/FDs/IPOs via POST /v0/bonds/search.
Parameter | Required | Description |
| yes | Name, ISIN, or issuer text. Minimum 2 characters. |
| no |
|
| no | Results per page. Range: 1–50. Default: 10. |
| no | 1-based page number. Default: 1. |
Testing
pytestLegal / risks
This is an unofficial reverse-engineered integration. GoldenPi may change their API without notice. Use at your own risk and respect their terms of service.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hackbansu/goldenpi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server