วันนี้ มีอะไรเปลี่ยนไปในประเทศไทยที่อาจกระทบชีวิตคุณ

วันนี้

ยังไม่มีการเปลี่ยนแปลงเกินเกณฑ์

MCP Server

ให้ AI Agents เรียกเครื่องมือข้อมูลผ่าน Streamable HTTP สาธารณะ อ่านอย่างเดียว ไม่ต้องเข้าสู่ระบบ ข้อมูลชุดเดียวกับ REST API

การเชื่อมต่อ

Endpoint
https://thailands-daily-pulse.lovable.app/mcp
ชื่อ server / เวอร์ชัน
thailand-daily-signals 1.0.0
Transport
Streamable HTTP — POST JSON-RPC 2.0 พร้อม Accept: application/json, text/event-stream
Origins
ทุก origin ไม่ต้องใช้ token

ขอบเขตความปลอดภัย

ทุก tool ติดป้าย readOnlyHint และ idempotentHint อ่านผ่านสิทธิ์สาธารณะเท่านั้น ไม่มี tool สำหรับ ingest, publish, rerun, backfill, สร้างภาพ, settings, queue, jobs หรือไฟล์หลักฐานส่วนตัว

ผลลัพธ์คืนทั้ง content (ข้อความ JSON) และ structuredContent = {data, meta:{timezone:"Asia/Bangkok", read_only:true, note}} ข่าวและ Social มี note ว่าเป็นบริบทเท่านั้น

Tool catalog (17)

Brief

get_today_briefReturn today's Bangkok Daily Brief, including completeness and cutoff window.—
get_brief_by_dateReturn Daily Briefs; date filters brief_date (Bangkok calendar date).limit 1–100 (25), date YYYY-MM-DD?, id? (id ignored)
compare_briefsReturn two Daily Brief editions for direct comparison.date, previous_date (YYYY-MM-DD)

Signals

list_signalsList detected meaningful changes. date filters signal_date, id filters metric_id. News and social posts are excluded.limit 1–100 (25), date YYYY-MM-DD?, id?
get_signalGet one signal by event ID (metric_id:YYYY-MM-DD) with its event record and version history.id = event_id, e.g. dit_pork:2026-10-04
list_signal_eventsList correction and withdrawal-aware signal events. id filters event_id.limit 1–100 (25), date YYYY-MM-DD?, id?
get_household_impactReturn signal versions with their reproducible household-impact fields and advice. id filters event_id.limit, id?

Sources

list_sourcesList the public source registry and collection cadence.limit, id? (source name)
get_source_healthList recent public source collection outcomes and failure reasons. id filters source.limit, id?
get_evidence_metadataList public evidence metadata only; raw files and storage paths are never returned. id filters source.limit, id?

Data

get_observationsList real and illustrative observations with source timestamps. date filters observed_on, id filters metric_id.limit 1–100 (25), date YYYY-MM-DD?, id?
get_dam_levelsList hourly readings for dams affecting Bangkok. id filters metric_id.limit, id?
get_weather_observationsList Bangkok-area TMD station observations. date filters obs_date, id filters station_id.limit 1–100 (25), date YYYY-MM-DD?, id?
get_latest_lotteryReturn verified GLO draw records, newest first.limit

Context

list_social_updatesList FM91 and BTS/MRT posts; context only, these records are not signals.limit
list_news_mentionsList tagged and general news context; news never creates or ranks signals.limit

Calendar

get_calendarReturn holidays, tax deadlines, and scheduled official releases (soonest first).limit 1–100 (50)

ตัวอย่างคำขอ

1. initialize

curl -X POST https://thailands-daily-pulse.lovable.app/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"demo","version":"1"}}}'

2. tools/list

curl -X POST https://thailands-daily-pulse.lovable.app/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'

3. tools/call — Brief วันนี้

curl -X POST https://thailands-daily-pulse.lovable.app/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"get_today_brief","arguments":{}}}'

4. tools/call — สัญญาณรายตัว

curl -X POST https://thailands-daily-pulse.lovable.app/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"get_signal","arguments":{"id":"dit_pork:2026-10-04"}}}'

ตั้งค่าใน AI client (mcp.json)

{
  "mcpServers": {
    "thailand-daily-signals": {
      "type": "http",
      "url": "https://thailands-daily-pulse.lovable.app/mcp"
    }
  }
}