aekanundatascience
MCP Serveraekanundatasciencepublic

thailand earthquake mcp

MCP Server for Thailand Meteorological Department earthquake data - เซิร์ฟเวอร์ MCP สำหรับดึงข้อมูลแผ่นดินไหวจากกรมอุตุนิยมวิทยา

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
TypeScript
Language
-
License

About This Server

MCP Server for Thailand Meteorological Department earthquake data - เซิร์ฟเวอร์ MCP สำหรับดึงข้อมูลแผ่นดินไหวจากกรมอุตุนิยมวิทยา

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Thailand Earthquake MCP Server

MCP Server สำหรับข้อมูลแผ่นดินไหวจากกรมอุตุนิยมวิทยา (TMD) ที่สามารถใช้งานร่วมกับ Claude Desktop

ความสามารถ

MCP Server นี้ให้บริการข้อมูลแผ่นดินไหวผ่าน API ของกรมอุตุนิยมวิทยา โดยมีเครื่องมือ (Tools) ดังนี้:

  1. get_recent_earthquakes - ดึงข้อมูลเหตุการณ์แผ่นดินไหวล่าสุด
  2. get_earthquake_details - ดึงข้อมูลรายละเอียดของเหตุการณ์แผ่นดินไหวตาม ID
  3. search_earthquakes - ค้นหาเหตุการณ์แผ่นดินไหวตามเงื่อนไข เช่น วันที่และความรุนแรง

ความต้องการของระบบ

  • Python 3.10 หรือสูงกว่า
  • แพคเกจ: mcp, httpx

การติดตั้งด้วย Conda

  1. สร้าง conda environment:
conda create -n earthquake-mcp python=3.10
conda activate earthquake-mcp
  1. ติดตั้งแพคเกจที่จำเป็น:
pip install "mcp[cli]" httpx

การใช้งาน

  1. เปิด terminal และเปิดใช้ conda environment:
conda activate earthquake-mcp
  1. รัน MCP Server:
python earthquake_server.py

การตั้งค่า Claude Desktop

  1. เปิดไฟล์ claude_desktop_config.json (หรือสร้างไฟล์ใหม่หากยังไม่มี):

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. เพิ่มการตั้งค่า MCP Server โดยใช้การตั้งค่าที่ให้ไว้ในตัวอย่างด้านล่าง

  3. รีสตาร์ท Claude Desktop

ตัวอย่างการใช้งาน

เมื่อเชื่อมต่อกับ Claude Desktop แล้ว คุณสามารถสอบถามข้อมูลเกี่ยวกับแผ่นดินไหวได้ เช่น:

  • "มีเหตุการณ์แผ่นดินไหวล่าสุดอะไรบ้าง?"
  • "แสดงรายละเอียดของแผ่นดินไหวที่มีรหัส [ID]"
  • "ค้นหาแผ่นดินไหวที่มีความรุนแรงมากกว่า 5.0 ในเดือนนี้"

แหล่งข้อมูล

ข้อมูลแผ่นดินไหวมาจาก API ของกรมอุตุนิยมวิทยา: https://data.tmd.go.th/api/DailySeismicEvent/v1/

Quick Start

1

Clone the repository

git clone https://github.com/aekanundatascience/thailand-earthquake-mcp
2

Install dependencies

cd thailand-earthquake-mcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Owneraekanundatascience
Repothailand-earthquake-mcp
LanguageTypeScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation