القائمة

Connect Lovable to OpenData: Live Web Data over MCP

Published · Updated

Lovable supports custom MCP connectors that its AI builder can use while working on your app. OpenData Shop runs a public MCP server that looks up live web data — businesses, jobs, products, rentals, reviews, and more across around 100 sources — and returns structured rows.

What you need

  • An OpenData Shop account. Sign up free at shop.opendata.best.
  • The AI wallet activated on the AI wallet page. If you prefer API key authentication, create the key on the same page — it is shown only once.
  • Any Lovable plan. Custom MCP connectors are available on all plans as personal per-user connectors.

Two facts worth knowing from the official Lovable documentation: connectors are personal and belong to your chat session, and they never become part of the published app. Admins can disable the feature entirely with the Custom MCP setting.

Add the server in Lovable

The steps below follow the official Lovable custom MCP documentation. Lovable offers OAuth as its default, and OpenData supports OAuth with dynamic registration, so sign-in is the smoothest path.

  1. Open the Connectors page (the direct address is lovable.dev/dashboard?connectors).
  2. Choose Add custom, then MCP server.
  3. Enter a server name, for example OpenData.
  4. Keep the Connection dropdown on Direct connection.
  5. As the server URL, enter exactly https://ai.opendata.best/mcp.
  6. For authentication, keep the default OAuth. Click Add and authorize.
  7. A browser window opens on shop.opendata.best. Sign in to your OpenData Shop account and approve the ai:read and ai:extract permissions.
  8. The connector connects, and the OpenData tools — search_sources, describe_source, run_extraction, get_job_results, and get_account_usage — become available in your chats.

If you prefer key authentication, pick Bearer token or API key instead and paste your full key as odk_... when prompted. If neither is wanted for a quick look at the catalogue, the free endpoint https://ai.opendata.best/public/mcp works with No authentication, but it cannot run extractions.

Try it

In a Lovable chat, ask something like:

  1. Pull live data on vintage clothing stores in Brooklyn and build a directory page with their ratings.
  2. Use OpenData to collect current SaaS pricing page details for project management tools and design a comparison table.
  3. Fetch recent remote marketing job postings and generate a job board layout with real rows.

Troubleshooting

  • If authorization fails or the window closes early, remove the connector and add it again, completing the sign-in on shop.opendata.best in one pass.
  • If extractions fail with a balance error, activate and top up the wallet on the AI wallet page.
  • If the tools do not appear in a chat, remember connectors are personal — check you are logged into the same Lovable account, and start a new chat.
  • If Add custom is missing entirely, your workspace admin may have disabled custom MCP servers; ask them to review the Custom MCP setting.

Read the AI and MCP overview for how billing, sources, and tools work, and the official guide at docs.lovable.dev/integrations/custom-mcp for the Lovable side.

Questions and answers

Do connector rows end up in my published app?

No. The Lovable documentation is explicit that custom MCP connectors are per-user personal chat connectors and never become part of the published application. They help the builder while it works; if the app itself needs data at runtime, fetch it server-side with your own key.

Which authentication should I pick in Lovable?

OAuth is the documented default and works with OpenData out of the box through dynamic registration — you just sign in. Bearer token or API key is the alternative if you prefer to manage keys yourself from the AI wallet page.

What does OpenData charge when the builder pulls data?

Only delivered rows are charged, from your prepaid wallet. Zero-row results, input errors, upstream failures, and timeouts are not charged.