菜单

Connect Replit to OpenData: Live Web Data over MCP

Published · Updated

Replit connects to remote MCP servers as integrations, so Replit Agent can use their tools while building and debugging your apps. 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 clean rows.

What you need

  • An OpenData Shop account. Sign up free at shop.opendata.best.
  • The AI wallet activated on the AI wallet page. Create your API key on the same page — it is shown only once.
  • A Replit account. Workspace-wide MCP servers require admin permission; personal MCP servers do not.

Billing note: OpenData charges per delivered row from your prepaid wallet balance. Zero-row results, input errors, upstream failures, and timeouts are not charged.

Add the server in Replit

The steps below follow the official Replit documentation on connecting via MCP. Replit supports custom headers on the connection, so this guide uses your OpenData API key in the Authorization header.

  1. Open Settings in Replit, then go to Integrations.
  2. Under Your integrations, choose Add custom and then Add personal MCP server.
  3. Enter a display name, for example OpenData.
  4. As the server URL, enter exactly https://ai.opendata.best/mcp — it must be HTTPS.
  5. Open Advanced settings and add a custom header. Set the header name to Authorization and the value to Bearer odk_... replacing the part after Bearer with your real key.
  6. Choose Test and save. If the server required OAuth, the test would walk you through sign-in; with the header in place the test should pass directly.
  7. Save the integration. The OpenData tools — search_sources, describe_source, run_extraction, get_job_results, and get_account_usage — become available to Replit Agent.

Try it

In a Replit project, ask Agent something like:

  1. Use OpenData to pull current front-end developer job postings in Toronto and save them as a JSON seed file for my app.
  2. Build a small dashboard showing pizza places in Chicago with ratings from live data — fetch the rows first.
  3. Compare prices and review counts for bestselling mechanical keyboards and put the data in a table component.

Troubleshooting

  • If the connection test returns an authentication error, check the header value starts with the word Bearer followed by a space and your odk_ key, and that the key was copied completely.
  • If extractions fail with a balance error, activate and top up the wallet on the AI wallet page.
  • If Agent does not use the tools, mention the integration by name in your prompt, for example use the OpenData integration, and start a new chat if the tools were added mid-conversation.
  • Workspace MCP servers need an admin; if Add personal MCP server is unavailable, check your Replit plan or ask your workspace administrator.

Read the AI and MCP overview for how billing, sources, and tools work, and the official guide at docs.replit.com/build/connect-via-mcp for the Replit side.

Questions and answers

Can I share the server with my whole Replit workspace?

Yes, but the workspace variant of the integration requires admin permission in Replit. The personal MCP server in this guide only affects your own account, which is the safer way to start because your API key stays personal.

Is there an install link I can share?

Replit documents an install link format that base64-encodes the display name and base URL of the server. That link does not carry your secret header, so each person still adds their own API key in advanced settings.

What does OpenData charge when Agent runs a query?

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