BetterGov.ph
https://bir.bettergov.ph/api/mcpModel Context Protocol
Connect Codex, Claude, Cursor, VS Code, or any MCP-capable client to search, browse, and retrieve source-linked Philippine revenue issuances from the conversation. Public beta access is free and requires no API key.
Server URL
https://bir.bettergov.ph/api/mcpClient setup
Add to ~/.codex/config.toml.
[mcp_servers.bir-issuances]
url = "https://bir.bettergov.ph/api/mcp"Run once in your terminal.
claude mcp add --transport http bir-issuances https://bir.bettergov.ph/api/mcpAdd a public custom connector.
Add to .cursor/mcp.json or ~/.cursor/mcp.json.
{
"mcpServers": {
"bir-issuances": { "url": "https://bir.bettergov.ph/api/mcp" }
}
}Add to .vscode/mcp.json.
{
"servers": {
"bir-issuances": {
"type": "http",
"url": "https://bir.bettergov.ph/api/mcp"
}
}
}Use any client that supports Streamable HTTP.
npx -y mcp-remote https://bir.bettergov.ph/api/mcpUse the bridge only for stdio-only clients. The server itself needs no session or credentials.
Available tools
search_issuancesSearch by natural-language topic, document number, or phrase. Filter by issuance type or analysis topic, then order by relevance or year.
list_issuancesBrowse the full index with type and analysis-topic filters, newest/oldest ordering, and cursor-based pagination.
get_issuanceRetrieve one issuance by canonical slug, with its indexed text, source URL, and research metadata.
Protocol reference
curl -X POST "https://bir.bettergov.ph/api/mcp" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"example","version":"1.0"}}}'curl -X POST "https://bir.bettergov.ph/api/mcp" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_issuances","arguments":{"query":"expanded withholding tax","kind":"rmc","limit":5}}}'This is an independent research service, not an official BIR endpoint. Tool results include source links; verify consequential tax and legal claims against the original BIR document.