AI & MCP: dữ liệu web trực tiếp trong trợ lý AI của bạn
Kết nối Claude, Cursor, VS Code hoặc một MCP client khác với OpenData và yêu cầu dữ liệu web công khai bằng ngôn ngữ tự nhiên: doanh nghiệp địa phương, việc làm, sản phẩm, tin đăng bất động sản và hơn thế nữa. Các dòng trả về ngay trong cuộc trò chuyện và được trừ từ ví AI trả trước của bạn; kết quả không có dòng và lỗi không bị tính phí.
- Một địa chỉ máy chủhttps://ai.opendata.best/mcp hoạt động trên mọi client hỗ trợ máy chủ MCP từ xa qua HTTP.
- Đăng nhập hoặc dùng khóaĐăng nhập bằng tài khoản OpenData Shop (OAuth), hoặc gửi một khóa API được tạo trên trang ví AI của bạn.
- Trả phí theo dòng đã giaoMỗi nguồn dữ liệu hiển thị giá dòng và giới hạn dòng trước khi bạn chạy. Không có dòng nào, lỗi đầu vào, lỗi nguồn và hết thời gian chờ không bao giờ bị tính phí.
- Tạo tài khoảnĐăng nhập hoặc đăng ký trên OpenData Shop. Cùng một tài khoản giữ ví AI và các khóa API của bạn.
- Kích hoạt ví AIMở trang ví AI trong tài khoản, kích hoạt ví và nạp tiền.
- Kết nối client của bạnThêm máy chủ vào client AI của bạn như hướng dẫn bên dưới, rồi yêu cầu nó tìm một nguồn dữ liệu và chạy.
Để AI của bạn tự cài đặt
Sao chép prompt này và dán vào trợ lý AI hoặc agent lập trình của bạn. Nó sẽ nhận ra mình đang chạy trong client nào, thêm máy chủ, bắt đầu đăng nhập và kiểm tra các công cụ hoạt động. Prompt không chứa khóa của bạn.
https://ai.opendata.best/mcpXem prompt
Set up the OpenData MCP server for me in the AI client you are running in. OpenData returns live public web data (local businesses, jobs, products, property, travel, events, reviews) as structured rows.
## Server
- Name: opendata
- URL: https://ai.opendata.best/mcp (Streamable HTTP)
- Sign-in: OAuth (the client registers itself and opens a browser sign-in). Clients without OAuth send the header Authorization: Bearer <API key>.
- Catalogue only, no account needed: https://ai.opendata.best/public/mcp
## Steps
1. Work out which client you are running in and follow its section below. If it is not listed, use "Any MCP client".
2. Add the server. Use OAuth whenever the client supports it, and start the sign-in right away so I can approve access in the browser.
3. If the client only takes an API key, ask me to create one at https://shop.opendata.best/pages/account/ai and to put it into the configuration myself (or into an environment variable). Never ask me to paste the key into this chat and never print it.
4. Reload or restart the client if it needs that, then check that these tools are listed: search_sources, describe_source, run_extraction, get_job_results, get_account_usage.
5. Call get_account_usage. If the balance is zero, tell me to top up at https://shop.opendata.best/pages/account/ai.
6. Suggest these starter tasks, run with a small maxResults (5 to 10) first:
- Use OpenData to find 10 dentists in Chicago with phone numbers, websites and ratings, and show them as a table.
- Use OpenData to list 10 remote data analyst jobs on Indeed with company, location and link.
- Use OpenData to find 10 Airbnb stays in Lisbon for two guests and compare their nightly prices and ratings.
7. Reply in my language.
## Rules after setup
- Find a source with search_sources using a site or category word (maps, jobs, hotels, amazon), not the thing you are looking for. An empty query lists every source.
- Call describe_source before run_extraction to read the inputs, the example call, the row price and the row limit.
- Start with maxResults 5 to 10. Before a job of more than 100 rows, or when the cost is unclear, tell me the expected rows and the row price and wait for my go-ahead.
- Each delivered row is charged once from my wallet. Jobs with zero rows, input errors, source failures or timeouts are not charged. Reading results again with get_job_results is free.
- When a job returns status running, call get_job_results with the next offset until it is done.
- Show rows as a table and name the source site.
- If the balance is too low, send me to https://shop.opendata.best/pages/account/ai to top up, or use a smaller maxResults.
- If sign-in fails, ask me to reconnect the server or sign in again. Never ask me to paste an API key into the chat.
- Collect public data only; do not use results for spam or to profile private individuals.
## Client setup
### Claude Code
With OAuth sign-in:
```
claude mcp add --transport http opendata https://ai.opendata.best/mcp
# then run /mcp in Claude Code and choose Authenticate
```
With an API key:
```
claude mcp add --transport http opendata https://ai.opendata.best/mcp --header "Authorization: Bearer odk_YOUR_KEY"
```
Docs: https://code.claude.com/docs/en/mcp
### Cursor
Configuration file: ~/.cursor/mcp.json
With OAuth sign-in:
```
{
"mcpServers": {
"opendata": {
"url": "https://ai.opendata.best/mcp"
}
}
}
```
With an API key:
```
{
"mcpServers": {
"opendata": {
"url": "https://ai.opendata.best/mcp",
"headers": {
"Authorization": "Bearer odk_YOUR_KEY"
}
}
}
}
```
Docs: https://cursor.com/docs/context/mcp/install-links
### Claude (web and desktop)
1. Open Customize > Connectors (claude.ai/customize/connectors), choose + Add, then Add custom connector. On Team and Enterprise plans an owner adds it first under Organization settings > Connectors.
2. Name it OpenData and paste the server URL https://ai.opendata.best/mcp.
3. With OAuth: set Authentication to Sign in and the OAuth client to Register automatically, save, then choose Connect and approve access.
4. With an API key: set Authentication to No sign in and add the request header Authorization with the value Bearer odk_YOUR_KEY.
5. In a chat, turn the connector on from the + menu under Connectors.
Docs: https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp
### ChatGPT
1. On ChatGPT on the web, open Plugins (chatgpt.com/plugins), choose +, then Add custom MCP server.
2. Name it OpenData and enter the server URL https://ai.opendata.best/mcp.
3. Set Authentication to OAuth, accept the notice, choose Create as a plugin, then sign in and approve access.
4. In a chat, mention @OpenData to use it.
5. Custom MCP servers are available on ChatGPT Business, Enterprise and Edu; on Pro only read-only tools can be used.
Docs: https://help.openai.com/en/articles/12584461-developer-mode-apps-and-full-mcp-support-in-chatgpt-beta
### Codex CLI
Setup (OAuth sign-in):
```
codex mcp add opendata --url https://ai.opendata.best/mcp
codex mcp login opendata
```
Docs: https://developers.openai.com/codex/mcp
### VS Code (GitHub Copilot)
Configuration file: ~/.copilot/mcp-config.json
With OAuth sign-in:
```
{
"mcpServers": {
"opendata": {
"type": "http",
"url": "https://ai.opendata.best/mcp",
"tools": [
"*"
]
}
}
}
```
With an API key:
```
{
"mcpServers": {
"opendata": {
"type": "http",
"url": "https://ai.opendata.best/mcp",
"headers": {
"Authorization": "Bearer odk_YOUR_KEY"
},
"tools": [
"*"
]
}
}
}
```
Or use the Add to VS Code button above, or run Chat: Open Customizations > MCP Servers > Add Server, choose HTTP and enter the server URL.
With OAuth, VS Code opens the sign-in page in your browser the first time it connects.
Docs: https://code.visualstudio.com/docs/agent-customization/mcp-servers
### Claude Desktop (local bridge)
Configuration file: claude_desktop_config.json
With OAuth sign-in:
```
{
"mcpServers": {
"opendata": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://ai.opendata.best/mcp"
]
}
}
}
```
With an API key:
```
{
"mcpServers": {
"opendata": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://ai.opendata.best/mcp",
"--header",
"Authorization: Bearer odk_YOUR_KEY"
]
}
}
}
```
The connector in Customize > Connectors (see Claude) is the simpler way; this bridge runs the server through Node.js on your computer.
Docs: https://modelcontextprotocol.io/docs/develop/connect-local-servers
### Gemini CLI
With OAuth sign-in:
```
gemini mcp add --transport http opendata https://ai.opendata.best/mcp
```
With an API key:
```
gemini mcp add --transport http --header "Authorization: Bearer odk_YOUR_KEY" opendata https://ai.opendata.best/mcp
```
Docs: https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md
### Factory (droid)
With OAuth sign-in:
```
droid mcp add opendata https://ai.opendata.best/mcp --type http
```
With an API key:
```
droid mcp add opendata https://ai.opendata.best/mcp --type http --header "Authorization: Bearer odk_YOUR_KEY" --no-oauth
```
Docs: https://docs.factory.ai/cli/configuration/mcp
### Command Code
With OAuth sign-in:
```
cmd mcp add --transport http opendata https://ai.opendata.best/mcp
```
With an API key:
```
cmd mcp add --transport http --header "Authorization: Bearer odk_YOUR_KEY" opendata https://ai.opendata.best/mcp
```
Docs: https://commandcode.ai/docs/mcp
### LM Studio
Configuration file: mcp.json
Setup (API key only):
```
{
"mcpServers": {
"opendata": {
"url": "https://ai.opendata.best/mcp",
"headers": {
"Authorization": "Bearer odk_YOUR_KEY"
}
}
}
}
```
Docs: https://lmstudio.ai/docs/app/mcp
### Mistral Le Chat
Setup (OAuth sign-in):
```
https://ai.opendata.best/mcp
```
Docs: https://docs.mistral.ai/le-chat/knowledge-integrations/connectors/mcp-connectors
### GitHub Copilot CLI
Setup (API key only):
```
copilot mcp add --transport http --header "Authorization: Bearer odk_YOUR_KEY" opendata https://ai.opendata.best/mcp
```
Docs: https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-servers
### OpenCode
Configuration file: ~/.config/opencode/opencode.json
With OAuth sign-in:
```
{
"mcp": {
"servers": {
"opendata": {
"type": "remote",
"url": "https://ai.opendata.best/mcp"
}
}
}
}
# then run: opencode mcp auth opendata
```
With an API key:
```
{
"mcp": {
"servers": {
"opendata": {
"type": "remote",
"url": "https://ai.opendata.best/mcp",
"oauth": false,
"headers": {
"Authorization": "Bearer odk_YOUR_KEY"
}
}
}
}
}
```
Docs: https://opencode.ai/docs/mcp-servers/
### Google Antigravity
Configuration file: ~/.gemini/config/mcp_config.json
With OAuth sign-in:
```
{
"mcpServers": {
"opendata": {
"serverUrl": "https://ai.opendata.best/mcp"
}
}
}
# then open Customizations > MCP Servers and choose Authenticate
```
With an API key:
```
{
"mcpServers": {
"opendata": {
"serverUrl": "https://ai.opendata.best/mcp",
"headers": {
"Authorization": "Bearer odk_YOUR_KEY"
}
}
}
}
```
Docs: https://antigravity.google/docs/mcp
### Any MCP client
Configuration file: mcp.json
With OAuth sign-in:
```
{
"mcpServers": {
"opendata": {
"url": "https://ai.opendata.best/mcp"
}
}
}
```
With an API key:
```
{
"mcpServers": {
"opendata": {
"url": "https://ai.opendata.best/mcp",
"headers": {
"Authorization": "Bearer odk_YOUR_KEY"
}
}
}
}
```
Docs: https://modelcontextprotocol.io/docs/develop/connect-remote-servers
Tự cài đặt client
Dùng địa chỉ máy chủ bên dưới. Các client đánh dấu OAuth sẽ mở cửa sổ đăng nhập khi bạn dùng máy chủ lần đầu. Với các client còn lại, đặt một khóa từ trang ví AI của bạn vào chỗ odk_YOUR_KEY.
Any MCP client
Đăng nhập OAuthKhóa APIThêm nội dung này vào tệp cấu hình có tên ghi phía trên đoạn mã. mcp.json
{
"mcpServers": {
"opendata": {
"url": "https://ai.opendata.best/mcp"
}
}
}{
"mcpServers": {
"opendata": {
"url": "https://ai.opendata.best/mcp",
"headers": {
"Authorization": "Bearer odk_YOUR_KEY"
}
}
}
}Claude Code
Đăng nhập OAuthKhóa APIChạy lệnh này trong terminal.
claude mcp add --transport http opendata https://ai.opendata.best/mcp
# then run /mcp in Claude Code and choose Authenticateclaude mcp add --transport http opendata https://ai.opendata.best/mcp --header "Authorization: Bearer odk_YOUR_KEY"Cursor
Đăng nhập OAuthKhóa APIThêm nội dung này vào tệp cấu hình có tên ghi phía trên đoạn mã. ~/.cursor/mcp.json
{
"mcpServers": {
"opendata": {
"url": "https://ai.opendata.best/mcp"
}
}
}{
"mcpServers": {
"opendata": {
"url": "https://ai.opendata.best/mcp",
"headers": {
"Authorization": "Bearer odk_YOUR_KEY"
}
}
}
}Claude (web and desktop)
Đăng nhập OAuthKhóa APITrong cài đặt của ứng dụng, thêm một connector tùy chỉnh với địa chỉ này.
- Open Customize > Connectors (claude.ai/customize/connectors), choose + Add, then Add custom connector. On Team and Enterprise plans an owner adds it first under Organization settings > Connectors.
- Name it OpenData and paste the server URL https://ai.opendata.best/mcp.
- With OAuth: set Authentication to Sign in and the OAuth client to Register automatically, save, then choose Connect and approve access.
- With an API key: set Authentication to No sign in and add the request header Authorization with the value Bearer odk_YOUR_KEY.
- In a chat, turn the connector on from the + menu under Connectors.
https://ai.opendata.best/mcpAuthorization: Bearer odk_YOUR_KEYChatGPT
Đăng nhập OAuthTrong cài đặt của ứng dụng, thêm một connector tùy chỉnh với địa chỉ này.
- On ChatGPT on the web, open Plugins (chatgpt.com/plugins), choose +, then Add custom MCP server.
- Name it OpenData and enter the server URL https://ai.opendata.best/mcp.
- Set Authentication to OAuth, accept the notice, choose Create as a plugin, then sign in and approve access.
- In a chat, mention @OpenData to use it.
- Custom MCP servers are available on ChatGPT Business, Enterprise and Edu; on Pro only read-only tools can be used.
https://ai.opendata.best/mcpCodex CLI
Đăng nhập OAuthChạy lệnh này trong terminal.
codex mcp add opendata --url https://ai.opendata.best/mcp
codex mcp login opendataVS Code (GitHub Copilot)
Đăng nhập OAuthKhóa APIThêm nội dung này vào tệp cấu hình có tên ghi phía trên đoạn mã. ~/.copilot/mcp-config.json
- Or use the Add to VS Code button above, or run Chat: Open Customizations > MCP Servers > Add Server, choose HTTP and enter the server URL.
- With OAuth, VS Code opens the sign-in page in your browser the first time it connects.
{
"mcpServers": {
"opendata": {
"type": "http",
"url": "https://ai.opendata.best/mcp",
"tools": [
"*"
]
}
}
}{
"mcpServers": {
"opendata": {
"type": "http",
"url": "https://ai.opendata.best/mcp",
"headers": {
"Authorization": "Bearer odk_YOUR_KEY"
},
"tools": [
"*"
]
}
}
}Claude Desktop (local bridge)
Đăng nhập OAuthKhóa APIThêm nội dung này vào tệp cấu hình có tên ghi phía trên đoạn mã. claude_desktop_config.json
- The connector in Customize > Connectors (see Claude) is the simpler way; this bridge runs the server through Node.js on your computer.
{
"mcpServers": {
"opendata": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://ai.opendata.best/mcp"
]
}
}
}{
"mcpServers": {
"opendata": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://ai.opendata.best/mcp",
"--header",
"Authorization: Bearer odk_YOUR_KEY"
]
}
}
}Gemini CLI
Đăng nhập OAuthKhóa APIChạy lệnh này trong terminal.
gemini mcp add --transport http opendata https://ai.opendata.best/mcpgemini mcp add --transport http --header "Authorization: Bearer odk_YOUR_KEY" opendata https://ai.opendata.best/mcpFactory (droid)
Đăng nhập OAuthKhóa APIChạy lệnh này trong terminal.
droid mcp add opendata https://ai.opendata.best/mcp --type httpdroid mcp add opendata https://ai.opendata.best/mcp --type http --header "Authorization: Bearer odk_YOUR_KEY" --no-oauthCommand Code
Đăng nhập OAuthKhóa APIChạy lệnh này trong terminal.
cmd mcp add --transport http opendata https://ai.opendata.best/mcpcmd mcp add --transport http --header "Authorization: Bearer odk_YOUR_KEY" opendata https://ai.opendata.best/mcpLM Studio
Khóa APIThêm nội dung này vào tệp cấu hình có tên ghi phía trên đoạn mã. mcp.json
Client này chỉ dùng khóa API.
{
"mcpServers": {
"opendata": {
"url": "https://ai.opendata.best/mcp",
"headers": {
"Authorization": "Bearer odk_YOUR_KEY"
}
}
}
}Mistral Le Chat
Đăng nhập OAuthTrong cài đặt của ứng dụng, thêm một connector tùy chỉnh với địa chỉ này.
https://ai.opendata.best/mcpThay odk_YOUR_KEY bằng một khóa từ trang ví AI của bạn. Khóa mới chỉ hiển thị một lần, ngay sau khi bạn tạo.
Giữ khóa của bạn riêng tư: bất kỳ ai có khóa đều có thể tiêu số dư ví của bạn. Nếu khóa bị lộ, hãy thu hồi ngay trên trang ví AI của bạn.
Sau khi kết nối, hãy thử hỏi
Bắt đầu với một yêu cầu nhỏ. Trợ lý của bạn tìm kiếm trong danh mục miễn phí và có thể hiển thị giá mỗi hàng trước khi chạy một tác vụ.
- Dùng OpenData tìm 10 nha sĩ ở Chicago kèm số điện thoại, website và đánh giá, rồi hiển thị dưới dạng bảng.
- Dùng OpenData liệt kê 10 việc làm data analyst làm từ xa trên Indeed kèm công ty, địa điểm và liên kết.
- Dùng OpenData tìm 10 chỗ ở Airbnb ở Lisbon cho hai khách và so sánh giá mỗi đêm cùng đánh giá của chúng.
Quy tắc cho AI của bạn
Dán các quy tắc này vào AGENTS.md, CLAUDE.md hoặc phần chỉ dẫn tùy chỉnh của trợ lý để nó dùng OpenData cẩn thận và giữ chi phí thấp.
## OpenData (MCP server "opendata")
- Find a source with search_sources using a site or category word (maps, jobs, hotels, amazon), not the thing you are looking for. An empty query lists every source.
- Call describe_source before run_extraction to read the inputs, the example call, the row price and the row limit.
- Start with maxResults 5 to 10. Before a job of more than 100 rows, or when the cost is unclear, tell me the expected rows and the row price and wait for my go-ahead.
- Each delivered row is charged once from my wallet. Jobs with zero rows, input errors, source failures or timeouts are not charged. Reading results again with get_job_results is free.
- When a job returns status running, call get_job_results with the next offset until it is done.
- Show rows as a table and name the source site.
- If the balance is too low, send me to https://shop.opendata.best/pages/account/ai to top up, or use a smaller maxResults.
- If sign-in fails, ask me to reconnect the server or sign in again. Never ask me to paste an API key into the chat.
- Collect public data only; do not use results for spam or to profile private individuals.
Hướng dẫn
- Connect Manus to OpenData: Live Web Data over MCP
- Connect Perplexity to OpenData: Live Web Data over MCP
- Connect Replit to OpenData: Live Web Data over MCP
- Connect Lovable to OpenData: Live Web Data over MCP
- Connect Bolt to OpenData: Live Web Data over MCP
- Connect v0 to OpenData: Live Web Data over MCP
- Connect Dust to OpenData: Live Web Data over MCP
- Connect Langdock to OpenData: Live Web Data over MCP
- Connect Felo to OpenData: Live Web Data over MCP
- Connect Mistral Le Chat to OpenData over MCP
Trợ lý của bạn có thể làm gì
Máy chủ cung cấp cho trợ lý của bạn năm công cụ. Một yêu cầu điển hình là: tìm nha sĩ ở Chicago kèm số điện thoại và đánh giá. Trợ lý sẽ tìm trong danh mục, kiểm tra nguồn chấp nhận những gì, chạy tác vụ và hiển thị các dòng cho bạn.
- search_sources
- Tìm nguồn dữ liệu theo từ khóa, ví dụ nha sĩ, nhà cho thuê hoặc tin tuyển dụng. Miễn phí.
- describe_source
- Xem các đầu vào, trường, giá dòng và giới hạn dòng của một nguồn. Miễn phí.
- run_extraction
- Chạy một tác vụ thu thập và trả các dòng về cuộc trò chuyện.
- get_job_results
- Đọc các dòng tiếp theo của một tác vụ dài. Một dòng chỉ bị tính phí ở lần giao đầu tiên.
- get_account_usage
- Xem số dư ví, số tiền đang giữ cho các tác vụ đang chạy và số dòng đã giao trong 24 giờ qua.
Hai cách đăng nhập
Dùng cách nào client của bạn hỗ trợ. Cả hai đều dùng chung một ví AI.
- Đăng nhập OAuth: client mở một trang OpenData Shop trong trình duyệt; bạn đăng nhập và phê duyệt quyền truy cập một lần. Bạn có thể thu hồi quyền truy cập trong tài khoản bất cứ lúc nào.
- Khóa API: tạo khóa trên trang ví AI của bạn và gửi trong header Authorization: Bearer odk_YOUR_KEY. Khóa mới chỉ hiển thị một lần, hãy lưu giữ cẩn thận.
Xem thử trước khi đăng ký
Để duyệt danh mục không cần tài khoản, hãy kết nối https://ai.opendata.best/public/mcp. Nó chỉ cung cấp các công cụ danh mục miễn phí; chạy tác vụ cần tài khoản và ví AI đã nạp tiền.
Dịch vụ AI và đơn hàng trên shop
Đơn hàng trên shop giao một tệp bảng tính cho một sản phẩm, thanh toán khi đặt hàng. Dịch vụ AI trả các dòng cho trợ lý của bạn theo nhu cầu và được trừ từ ví AI. Ví AI chỉ thanh toán cho dịch vụ AI.
Quy tắc sử dụng
Điều khoản, chính sách bảo mật và quy tắc sử dụng chấp nhận được của chúng tôi cũng áp dụng cho dịch vụ AI. Chỉ thu thập dữ liệu công khai, tuân thủ luật bảo mật áp dụng cho bạn, và không chia sẻ hay bán lại khóa API. Câu hỏi: kane@opendata.best.