เมนู

AI & MCP: ข้อมูลเว็บสดในผู้ช่วย AI ของคุณ

เชื่อมต่อ Claude, Cursor, VS Code หรือ MCP client อื่นเข้ากับ OpenData แล้วขอข้อมูลเว็บสาธารณะด้วยภาษาพูดทั่วไป: ธุรกิจท้องถิ่น ตำแหน่งงาน สินค้า ประกาศอสังหาริมทรัพย์ และอื่นๆ แถวข้อมูลจะกลับมาในบทสนทนาและถูกเรียกเก็บจากกระเป๋าเงิน AI แบบเติมล่วงหน้าของคุณ ผลลัพธ์ที่ไม่มีแถวและความล้มเหลวจะไม่ถูกเรียกเก็บ

  • ที่อยู่เซิร์ฟเวอร์เดียวhttps://ai.opendata.best/mcp ใช้ได้กับทุก client ที่รองรับเซิร์ฟเวอร์ MCP ระยะไกลผ่าน HTTP
  • เข้าสู่ระบบหรือใช้คีย์เข้าสู่ระบบด้วยบัญชี OpenData Shop ของคุณ (OAuth) หรือส่งคีย์ API ที่สร้างในหน้ากระเป๋าเงิน AI ของคุณ
  • จ่ายตามแถวที่ส่งมอบแหล่งข้อมูลแต่ละแหล่งแสดงราคาต่อแถวและขีดจำกัดแถวก่อนที่คุณจะเรียกใช้ ไม่มีแถว ข้อผิดพลาดของอินพุต ข้อผิดพลาดของแหล่ง และหมดเวลา จะไม่ถูกเรียกเก็บเสมอ
  1. สร้างบัญชีเข้าสู่ระบบหรือลงทะเบียนบน OpenData Shop บัญชีเดียวกันนี้เก็บกระเป๋าเงิน AI และคีย์ API ของคุณ
  2. เปิดใช้งานกระเป๋าเงิน AIเปิดหน้ากระเป๋าเงิน AI ในบัญชีของคุณ เปิดใช้งานกระเป๋าเงินแล้วเติมเงิน
  3. เชื่อมต่อ client ของคุณเพิ่มเซิร์ฟเวอร์เข้าใน client AI ของคุณตามที่แสดงด้านล่าง แล้วขอให้มันค้นหาแหล่งข้อมูลและเรียกใช้

ให้ AI ของคุณตั้งค่าให้

คัดลอกพรอมป์นี้แล้ววางลงในผู้ช่วย AI หรือเอเจนต์เขียนโค้ดของคุณ มันจะตรวจว่ากำลังทำงานอยู่ใน client ไหน เพิ่มเซิร์ฟเวอร์ เริ่มการเข้าสู่ระบบ และตรวจสอบว่าเครื่องมือใช้งานได้ พรอมป์นี้ไม่มีคีย์ของคุณ

ที่อยู่เซิร์ฟเวอร์
https://ai.opendata.best/mcp
เพิ่มลงใน Cursorเพิ่มลงใน VS Code
ดูพรอมป์
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

ตั้งค่า client ด้วยตัวเอง

ใช้ที่อยู่เซิร์ฟเวอร์ด้านล่าง client ที่มีการระบุ OAuth จะเปิดหน้าต่างเข้าสู่ระบบเมื่อคุณใช้เซิร์ฟเวอร์ครั้งแรก สำหรับ client อื่นๆ ให้ใส่คีย์จากหน้ากระเป๋าเงิน AI ของคุณแทนที่ odk_YOUR_KEY

Any MCP client

เข้าสู่ระบบด้วย OAuthคีย์ API

เพิ่มสิ่งนี้ลงในไฟล์กำหนดค่าที่มีชื่อระบุไว้เหนือตัวอย่างโค้ด mcp.json

{
  "mcpServers": {
    "opendata": {
      "url": "https://ai.opendata.best/mcp"
    }
  }
}

เก็บคีย์ของคุณไว้เป็นความลับ: ใครก็ตามที่มีคีย์สามารถใช้ยอดเงินในกระเป๋าของคุณได้ หากคีย์รั่วไหล ให้เพิกถอนในหน้ากระเป๋าเงิน AI ของคุณทันที

เมื่อเชื่อมต่อแล้ว ลองถามดู

เริ่มจากคำขอเล็กๆ ผู้ช่วยของคุณค้นหาในแคตตาล็อกได้ฟรี และแสดงราคาต่อแถวก่อนเรียกใช้งานได้

  • ใช้ OpenData ค้นหาทันตแพทย์ 10 รายในชิคาโก พร้อมหมายเลขโทรศัพท์ เว็บไซต์ และคะแนน แล้วแสดงเป็นตาราง
  • ใช้ OpenData แสดงตำแหน่งงาน data analyst แบบทำงานระยะไกล 10 ตำแหน่งบน Indeed พร้อมบริษัท สถานที่ และลิงก์
  • ใช้ OpenData ค้นหาที่พัก Airbnb 10 แห่งในลิสบอนสำหรับผู้เข้าพักสองคน แล้วเปรียบเทียบราคาต่อคืนและคะแนน

กฎสำหรับ AI ของคุณ

วางกฎเหล่านี้ลงใน AGENTS.md, CLAUDE.md หรือคำสั่งกำหนดเองของผู้ช่วยของคุณ เพื่อให้ใช้ OpenData อย่างรอบคอบและค่าใช้จ่ายต่ำ

## 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.

คู่มือ

ผู้ช่วยของคุณทำอะไรได้บ้าง

เซิร์ฟเวอร์ให้ผู้ช่วยของคุณใช้เครื่องมือห้าตัว คำขอทั่วไปคือ: ค้นหาทันตแพทย์ใน Chicago พร้อมหมายเลขโทรศัพท์และคะแนน ผู้ช่วยจะค้นหาในแคตตาล็อก ตรวจสอบว่าแหล่งข้อมูลรับอะไรบ้าง เรียกใช้งาน และแสดงแถวให้คุณ

search_sources
ค้นหาแหล่งข้อมูลด้วยคำค้น เช่น ทันตแพทย์ ที่พักให้เช่า หรือประกาศงาน ฟรี
describe_source
อ่านอินพุต ฟิลด์ ราคาต่อแถว และขีดจำกัดแถวของแหล่งหนึ่ง ฟรี
run_extraction
เรียกใช้งานเก็บรวบรวมหนึ่งครั้งและส่งแถวกลับมาในบทสนทนา
get_job_results
อ่านแถวเพิ่มเติมของงานที่ยาวขึ้น แต่ละแถวจะถูกเรียกเก็บเฉพาะครั้งแรกที่ส่งมอบเท่านั้น
get_account_usage
ดูยอดคงเหลือในกระเป๋าเงิน จำนวนเงินที่ถูกระงับสำหรับงานที่กำลังทำ และแถวที่ส่งมอบใน 24 ชั่วโมงที่ผ่านมา

สองวิธีในการเข้าสู่ระบบ

ใช้วิธีที่ client ของคุณรองรับ ทั้งสองวิธีใช้กระเป๋าเงิน AI เดียวกัน

  • เข้าสู่ระบบด้วย OAuth: client จะเปิดหน้า OpenData Shop ในเบราว์เซอร์ของคุณ คุณเข้าสู่ระบบและอนุมัติการเข้าถึงเพียงครั้งเดียว คุณสามารถเพิกถอนการเข้าถึงในบัญชีของคุณได้ทุกเมื่อ
  • คีย์ API: สร้างคีย์ในหน้ากระเป๋าเงิน AI ของคุณแล้วส่งในส่วนหัว Authorization: Bearer odk_YOUR_KEY คีย์ใหม่จะแสดงเพียงครั้งเดียว จึงควรเก็บรักษาไว้อย่างปลอดภัย

ลองดูก่อนสมัคร

หากต้องการเรียกดูแคตตาล็อกโดยไม่มีบัญชี ให้เชื่อมต่อ https://ai.opendata.best/public/mcp ซึ่งมีเฉพาะเครื่องมือแคตตาล็อกฟรีเท่านั้น การเรียกใช้งานต้องมีบัญชีและกระเป๋าเงิน AI ที่เติมเงินแล้ว

บริการ AI และคำสั่งซื้อในร้าน

คำสั่งซื้อในร้านจะส่งมอบไฟล์สเปรดชีตหนึ่งไฟล์สำหรับสินค้าหนึ่งรายการ ชำระเงินตอนสั่งซื้อ บริการ AI จะส่งแถวให้ผู้ช่วยของคุณตามต้องการและเรียกเก็บจากกระเป๋าเงิน AI กระเป๋าเงิน AI จ่ายเฉพาะบริการ AI เท่านั้น

กฎการใช้งาน

ข้อกำหนด นโยบายความเป็นส่วนตัว และกฎการใช้งานที่ยอมรับได้ของเรา ใช้กับบริการ AI ด้วย เก็บรวบรวมเฉพาะข้อมูลสาธารณะ ปฏิบัติตามกฎหมายคุ้มครองข้อมูลส่วนบุคคลที่ใช้กับคุณ และอย่าแบ่งปันหรือขายต่อคีย์ API มีคำถามติดต่อ: kane@opendata.best