Home
MCP for AI agents
Every Diraz endpoint, callable by your AI agent. Search, read and call — with the same key and the same billing.
https://mcp.diraz.co.id/mcpBearer drz_live_...
- Endpoints
- 204
- Tools
- 4
- API key
- 1
How it works
Four tools, not 204.
list_categories
See what data exists, grouped by category.
search_apis
Find endpoints by keyword, like “gold price”.
get_api_docs
Read one endpoint: params, fields and cost.
call_api
Call the endpoint and get its JSON back.
Connect
Works with your client.
Streamable HTTP, with no session to manage. Add the URL and your key — any MCP client works the same way.
One command, per project or globally with --scope user.
Terminal
MCP
claude mcp add --transport http diraz https://mcp.diraz.co.id/mcp \
--header "Authorization: Bearer drz_live_..."Example
One call, real data.
The agent asks for gold-spot and gets back the same JSON your code would.
Tool call
MCP
{
"name": "call_api",
"arguments": {
"endpoint": "gold-spot",
"params": {}
}
}Response
200
{
"data": {
"units": [
{
"unit": "ounce",
"usd": 4368.24,
"usd_change": -55.72,
"idr": 78082946.6,
"idr_change": -754896.31
},
{
"unit": "gram",
"usd": 140.44,
"usd_change": -1.79,
"idr": 2510425.03,
"idr_change": -24270.48
}
]
},
"meta": {
"request_id": "req_7Q2fK4mZ",
"as_of": "2026-08-18T16:32:00.000Z",
"age_seconds": 42,
"next_update_at": "2026-08-18T17:10:15.000Z"
}
}Billing
Nothing new to pay for.
- Same keyA key that can call /v1 can call MCP.
- Same creditsAn agent's call costs what your code's does.
- Errors are freeA failed call never costs a credit.
- Discovery is freeListing, search and docs cost nothing.