# Use with AI

Dataruma speaks MCP Streamable HTTP at https://api.dataruma.com/mcp. Send an API key as Authorization: Bearer. OAuth is not supported yet. initialize and tools/list work without a key. tools/call uses the same key, scopes, rate limit, and ledger as REST.

## Cursor

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project. Replace the key. The key is shown once at signup and starts at a $0 balance.

```
{
  "mcpServers": {
    "dataruma": {
      "type": "http",
      "url": "https://api.dataruma.com/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_YOUR_KEY"
      }
    }
  }
}
```

## Claude Code

The same HTTP server block goes in .mcp.json at the project root, or in ~/.claude.json. Claude Code sends the Authorization header on each request.

```
{
  "mcpServers": {
    "dataruma": {
      "type": "http",
      "url": "https://api.dataruma.com/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_YOUR_KEY"
      }
    }
  }
}
```

## Claude Desktop



- Settings → Connectors → Add custom connector.
- URL: https://api.dataruma.com/mcp
- In the connector’s advanced settings, add a request header named authorization with the value Bearer sk_live_YOUR_KEY (the word Bearer, a space, then the key).
- OAuth is not offered by Dataruma. Do not pick an OAuth client.

## ChatGPT and OpenAI connectors

The documented ChatGPT “add a custom MCP server” form offers OAuth, no authentication, or mixed. It does not offer a bearer API-key field. An OpenAI plugin manifest can declare auth.type api_key with a bearer header, but the submission portal’s connection form does not support API-key declarations. Dataruma has no OAuth, so that form cannot attach a key. You can still point a no-auth client at the URL: initialize and tools/list succeed, and tools/call returns a tool error that points at signup and at x402. Use Cursor, Claude, or any client that can send Authorization for priced calls.

## Any Streamable HTTP client

POST JSON-RPC 2.0 to https://api.dataruma.com/mcp. Accept must list both application/json and text/event-stream, or the server returns 406. The response is a single JSON body, not an SSE stream. There is no session id. Supported protocol versions are 2025-03-26, 2025-06-18, and 2025-11-25. A newer version in initialize is answered with 2025-11-25. GET with Accept: text/event-stream returns 405. A plain GET returns the public catalog. Notifications such as notifications/initialized return 202 and an empty body.

```
curl -s https://api.dataruma.com/mcp \
  -H 'Accept: application/json, text/event-stream' \
  -H 'Content-Type: application/json' \
  -H 'MCP-Protocol-Version: 2025-11-25' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

## Install the skill



- Download https://v2.dataruma.com/skills/dataruma/SKILL.md or the zip at https://v2.dataruma.com/skills/dataruma.zip. The same SKILL.md is also at https://api.dataruma.com/skill.md.
- Claude Code: copy the folder to .claude/skills/dataruma/SKILL.md in the project, or to ~/.claude/skills/dataruma/SKILL.md.
- Cursor: copy it to .cursor/skills/dataruma/SKILL.md, or to ~/.cursor/skills/dataruma/SKILL.md.
- Other skill-aware agents: put SKILL.md where that agent loads skills. The folder also has README.md and references/.

## Example prompts



- What is the InaRISK flood class at latitude -6.2, longitude 106.845? Say whether the result is a labelled example.
- What RDTR zone contains this Jakarta coordinate?
- Find sale comps for a house near this point. If the status is insufficient_data, say so and do not invent a price.
- Run an indicative AVM. Houses, shop-houses, and land need land_m2. Apartments need building_m2. Fewer than 5 usable comps returns insufficient_data and no value.

## Costs



- Flood risk $0.01 (10000 micro-USD), scope dataruma.flood. Neighborhood $0.01 (10000 micro-USD), scope dataruma.neighborhood. Comps $0.03 (30000 micro-USD), scope dataruma.comps. Valuation and the legacy p10/p50/p90 route $0.08 (80000 micro-USD), scope dataruma.valuation. Matchmaking under /v1/market is not billed and needs dataruma.market.
- Public signup keys receive dataruma.flood, dataruma.neighborhood, and dataruma.valuation. Comps and market are not on that list.
- insufficient_data is a successful, billed response. An HTTP 4xx or 5xx from REST is refunded. A short balance is 402 INSUFFICIENT_CREDITS.
- Create a key at https://v2.dataruma.com/signup.

## USDC on Solana

Top up with USDC on Solana only. POST /v1/topups, x402 version 2, scheme exact, network solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp, asset EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v. One micro-USD is one USDC atomic unit. The first call returns 402 and a base64 PAYMENT-REQUIRED header when a Solana recipient is configured. Retry with PAYMENT-SIGNATURE. The public x402.org facilitator settles testnets only. Solana mainnet needs the facilitator configured on the Worker. The recipient address is not in source.

---

# Pakai dengan AI

Dataruma berbicara MCP Streamable HTTP di https://api.dataruma.com/mcp. Kirim API key sebagai Authorization: Bearer. OAuth belum didukung. initialize dan tools/list berjalan tanpa kunci. tools/call memakai kunci, scope, batas laju, dan buku besar yang sama dengan REST.

## Cursor

Tambahkan ini ke ~/.cursor/mcp.json, atau ke .cursor/mcp.json di sebuah proyek. Ganti kuncinya. Kunci ditampilkan sekali saat daftar dan saldo awalnya $0.

```
{
  "mcpServers": {
    "dataruma": {
      "type": "http",
      "url": "https://api.dataruma.com/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_YOUR_KEY"
      }
    }
  }
}
```

## Claude Code

Blok server HTTP yang sama masuk ke .mcp.json di akar proyek, atau ke ~/.claude.json. Claude Code mengirim header Authorization di setiap permintaan.

```
{
  "mcpServers": {
    "dataruma": {
      "type": "http",
      "url": "https://api.dataruma.com/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_YOUR_KEY"
      }
    }
  }
}
```

## Claude Desktop



- Settings → Connectors → Add custom connector.
- URL: https://api.dataruma.com/mcp
- Di pengaturan lanjutan konektor, tambahkan header permintaan bernama authorization dengan nilai Bearer sk_live_YOUR_KEY (kata Bearer, satu spasi, lalu kunci).
- Dataruma tidak menyediakan OAuth. Jangan pilih klien OAuth.

## ChatGPT dan konektor OpenAI

Formulir ChatGPT “tambah server MCP kustom” yang terdokumentasi menawarkan OAuth, tanpa autentikasi, atau campuran. Formulir itu tidak punya kolom API key bearer. Manifes plugin OpenAI bisa menyatakan auth.type api_key dengan header bearer, tetapi formulir koneksi portal pengajuan tidak mendukung deklarasi API key. Dataruma tidak punya OAuth, jadi formulir itu tidak bisa menempelkan kunci. Klien tanpa autentikasi tetap bisa memakai URL: initialize dan tools/list berhasil, dan tools/call mengembalikan galat alat yang menunjuk ke halaman daftar dan ke x402. Untuk panggilan berbayar, pakai Cursor, Claude, atau klien yang bisa mengirim Authorization.

## Klien Streamable HTTP lain

POST JSON-RPC 2.0 ke https://api.dataruma.com/mcp. Accept harus memuat application/json dan text/event-stream, kalau tidak server menjawab 406. Responsnya satu badan JSON, bukan aliran SSE. Tidak ada id sesi. Versi protokol yang didukung: 2025-03-26, 2025-06-18, dan 2025-11-25. Versi yang lebih baru pada initialize dijawab dengan 2025-11-25. GET dengan Accept: text/event-stream menjawab 405. GET biasa mengembalikan katalog publik. Notifikasi seperti notifications/initialized menjawab 202 dengan badan kosong.

```
curl -s https://api.dataruma.com/mcp \
  -H 'Accept: application/json, text/event-stream' \
  -H 'Content-Type: application/json' \
  -H 'MCP-Protocol-Version: 2025-11-25' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

## Pasang skill



- Unduh https://v2.dataruma.com/skills/dataruma/SKILL.md atau zip di https://v2.dataruma.com/skills/dataruma.zip. SKILL.md yang sama juga ada di https://api.dataruma.com/skill.md.
- Claude Code: salin folder ke .claude/skills/dataruma/SKILL.md di proyek, atau ke ~/.claude/skills/dataruma/SKILL.md.
- Cursor: salin ke .cursor/skills/dataruma/SKILL.md, atau ke ~/.cursor/skills/dataruma/SKILL.md.
- Agen lain yang membaca skill: letakkan SKILL.md di tempat agen itu memuat skill. Foldernya juga berisi README.md dan references/.

## Contoh prompt



- Apa kelas bahaya banjir InaRISK di lintang -6.2, bujur 106.845? Sebutkan bila hasilnya contoh berlabel.
- Zona RDTR apa yang memuat koordinat Jakarta ini?
- Cari comps jual untuk rumah di dekat titik ini. Jika statusnya insufficient_data, katakan begitu dan jangan mengarang harga.
- Jalankan AVM indikatif. Rumah, ruko, dan tanah butuh land_m2. Apartemen butuh building_m2. Kurang dari 5 comps yang layak mengembalikan insufficient_data tanpa nilai.

## Biaya



- Risiko banjir $0.01 (10000 micro-USD), scope dataruma.flood. Lingkungan $0.01 (10000 micro-USD), scope dataruma.neighborhood. Comps $0.03 (30000 micro-USD), scope dataruma.comps. Valuasi dan rute lama p10/p50/p90 $0.08 (80000 micro-USD), scope dataruma.valuation. Perjodohan di /v1/market tidak didebit dan butuh dataruma.market.
- Kunci daftar publik menerima dataruma.flood, dataruma.neighborhood, dan dataruma.valuation. Comps dan market tidak ada di daftar itu.
- insufficient_data adalah respons yang berhasil dan tetap ditagih. HTTP 4xx atau 5xx dari REST dikembalikan dananya. Saldo kurang adalah 402 INSUFFICIENT_CREDITS.
- Buat kunci di https://v2.dataruma.com/signup.

## USDC di Solana

Isi saldo dengan USDC di Solana. POST /v1/topups, x402 versi 2, skema exact, jaringan solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp, aset EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v. Satu micro-USD sama dengan satu unit atomik USDC. Panggilan pertama menjawab 402 dan header PAYMENT-REQUIRED ber-base64 bila penerima Solana dikonfigurasi. Ulangi dengan PAYMENT-SIGNATURE. Fasilitator publik x402.org hanya menyelesaikan testnet. Mainnet Solana butuh fasilitator yang dikonfigurasi di Worker. Alamat penerima tidak ada di sumber.
