Skip to content

Connect opencode to Dubai car prices

Pull UAE car prices into the files opencode writes, each figure with its source and date.

Run in your project

opencode mcp add dubai-car-index --url https://dubaicarindex.com/api/mcp

Then sign in

opencode mcp auth dubai-car-index

The second command opens your browser: sign in with your email.

How opencode connects

  1. 1

    Run two commands

    They register https://dubaicarindex.com/api/mcp as an MCP server in opencode. Or paste the setup prompt and opencode runs them itself.

  2. 2

    Sign in once

    opencode opens Dubai Car Index in your browser. Sign in with your email and the link or code we send, then approve: no password, no API key.

  3. 3

    Ask in plain words

    Give opencode a task that needs prices: it writes them into CSVs, fixtures or docs, each figure with its source and date.

Steps from opencode's docs, checked Nov 2026. MCP servers (opens in a new tab)

Prompts to try in opencode

  • Fetch the rental terms for a Jetour T2 in Dubai from Dubai Car Index (deposit, mileage, insurance, Salik) and add them to docs/rental-faq.md.
  • Get the UAE list prices of the Geely Coolray and Haval H6 from Dubai Car Index and add them to data/compare.json.
  • Check each asking price in quotes.txt against Dubai Car Index and annotate the line with its verdict.

For AI agents

Instructions written for the agent itself. Agents can also read llms.txt, skill.md and the MCP server docs.

If you are an AI agent setting up Dubai Car Index for your user:

1. Add the remote MCP server https://dubaicarindex.com/api/mcp (streamable HTTP, OAuth 2.1 with dynamic client registration), with the steps for opencode on this page: https://dubaicarindex.com/agents/opencode.
2. When the browser opens, ask your user to sign in with their email and approve. There is no API key.
3. Check the connection with whoami.
4. Resolve a car or a repair job with search, then call the typed tool it names. Read get_methodology before explaining a figure.
5. Quote every figure with its page link, and say whether it is a published list price or a modelled estimate.

opencode FAQ

How do I add Dubai Car Index to opencode?
Run in your project: opencode mcp add dubai-car-index --url https://dubaicarindex.com/api/mcp. Then sign in: opencode mcp auth dubai-car-index. The second command opens your browser: sign in with your email.
How does opencode sign in?
opencode opens Dubai Car Index in your browser: you sign in with your email and the link or code Dubai Car Index sends you, then approve. There is no password and no API key; the server signs in through OAuth 2.1.
Is it free?
Yes. Every tool is free to use. Each account may make 120 tool calls a minute.
Where do the figures come from?
New-car list prices come from each brand's UAE distributor or a new-car price guide, each with its source URL and the date it was checked. Used values, rental rates and repair costs are modelled from those prices and from published quotes, and every result says which kind of figure it is. Only figures that are evidenced and reviewed are published.
Can my agent change anything?
No. All 13 tools read published data and write nothing. Dubai Car Index does not buy, sell, book or list cars.

Other agents