Thailand Earthquake MCP Server
About
MCP Server for Thailand Meteorological Department earthquake data - เซิร์ฟเวอร์ MCP สำหรับดึงข้อมูลแผ่นดินไหวจากกรมอุตุนิยมวิทยา
Details
- Author
- aekanundatascience
- Downloads
- 218
- Categories
- Other
Jump to
- Fetches recent earthquake events from TMD
- Retrieves detailed information by event ID
- Searches earthquakes by date and magnitude
- Integrates directly with Claude Desktop
- Lightweight Python implementation
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Thailand Earthquake MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install with Python 3.10+ and packages mcp and httpx, then run python earthquake_server.py. Configure Claude Desktop by adding the server to claude_desktop_config.json and restart. Users ask natural language queries about earthquakes.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"thailand earthquake mcp server": {
"thailand-earthquake-mcp": {
"command": "python",
"args": [
"earthquake_server.py"
]
}
}
}
}
McpServers
{
"thailand-earthquake-mcp": {
"command": "python",
"args": [
"earthquake_server.py"
]
}
}
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
2. ติดตั้งแพคเกจที่จำเป็น:
pip install "mcp[cli]" httpx
การใช้งาน
1. เปิด terminal และเปิดใช้ conda environment:
conda activate earthquake-mcp
2. รัน 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/
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



