TMD Earthquake MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TMD Earthquake MCP ServerShow me the 5 most recent earthquakes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TMD Earthquake MCP Server
MCP Server สำหรับดึงข้อมูลแผ่นดินไหวจาก Thai Meteorological Department (TMD) API
Features
✅ ดึงข้อมูลแผ่นดินไหวล่าสุด
✅ กรองตามสถานที่เกิดเหตุ
✅ กรองตามขนาด (Magnitude)
✅ สถิติข้อมูลแผ่นดินไหว
✅ Cache ข้อมูล 1 ชั่วโมง
Related MCP server: earthquake-mcp-server
Installation
1. สร้าง Conda Environment
conda create -n mcp-tmd python=3.11 -y
conda activate mcp-tmd2. ติดตั้ง Dependencies
cd C:\Users\Asus\tmd-weather-mcp
pip install -r requirements.txtUsage
Run Server (ทดสอบ)
python earthquake_server.pyConfigure Claude Desktop
หา Python Path ใน conda environment:
where pythonแก้ไขไฟล์
%APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"tmd-earthquake": {
"command": "C:\\Users\\Asus\\anaconda3\\envs\\mcp-tmd\\python.exe",
"args": [
"C:\\Users\\Asus\\tmd-weather-mcp\\earthquake_server.py"
]
}
}
}หมายเหตุ:
ต้องใช้ double backslash (
\\) ใน Windows pathแทนที่ path ของ Python ให้ตรงกับที่ได้จากคำสั่ง
where python
Restart Claude Desktop
Tools
1. get_recent_earthquakes
ดึงข้อมูลแผ่นดินไหวล่าสุด
Parameters:
limit(int): จำนวนรายการที่ต้องการ (default: 10)
ตัวอย่างการใช้งาน:
"แผ่นดินไหวล่าสุด 5 รายการ"
"ข้อมูลแผ่นดินไหววันนี้"
2. get_earthquakes_by_location
กรองแผ่นดินไหวตามสถานที่
Parameters:
location_keyword(str): คำค้นหาสถานที่ (ไทยหรืออังกฤษ)
ตัวอย่างการใช้งาน:
"แผ่นดินไหวในจีน"
"แผ่นดินไหวที่มีคำว่ายูนนาน"
3. get_earthquakes_by_magnitude
กรองแผ่นดินไหวตามขนาด
Parameters:
min_magnitude(float): ขนาดต่ำสุด (ริกเตอร์)max_magnitude(float, optional): ขนาดสูงสุด
ตัวอย่างการใช้งาน:
"แผ่นดินไหวที่มีขนาดมากกว่า 5 ริกเตอร์"
"แผ่นดินไหวขนาด 4-6 ริกเตอร์"
4. get_earthquake_statistics
สรุปสถิติข้อมูลแผ่นดินไหว
ตัวอย่างการใช้งาน:
"สรุปสถิติแผ่นดินไหววันนี้"
"แผ่นดินไหวเกิดที่ไหนบ่อยที่สุด"
Data Source
API: Thai Meteorological Department (TMD)
Update Frequency: Daily
Coverage: Regional and Global earthquake events
Troubleshooting
ปัญหา: ModuleNotFoundError
สาเหตุ: ไม่ได้ activate conda environment
วิธีแก้:
conda activate mcp-tmdปัญหา: Claude Desktop ไม่เห็น Server
สาเหตุ: Python path ไม่ถูกต้อง
วิธีแก้:
ตรวจสอบ python path ด้วย
where python(ใน activated env)ใช้ absolute path ใน config file
Restart Claude Desktop
ปัญหา: API Timeout
สาเหตุ: TMD API อาจช้าหรือไม่ตอบสนอง
วิธีแก้:
ลองใหม่อีกครั้ง
ตรวจสอบ internet connection
Cache จะช่วยลด API calls
Project Structure
C:\Users\Asus\tmd-weather-mcp\
├── earthquake_server.py # Main MCP server
├── requirements.txt # Python dependencies
├── README.md # This file
└── .gitignore # Git ignore rulesLicense
MIT License
Author
Created for TMD Earthquake Data Integration with MCP
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceProvides access to the USGS Earthquake Catalog for querying earthquake events via the FDSNWS API, enabling natural language questions about earthquake data.Last updated25MIT
- Alicense-qualityDmaintenanceReal-time earthquake data and seismic monitoring for AI agents via the USGS Earthquake Catalog API.Last updatedMIT
- Alicense-qualityDmaintenanceProvides weather data from the Thai Meteorological Department (TMD) with tools for querying stations, weather by province, and summaries, deployable via Docker or remote server.Last updatedMIT
- Alicense-qualityAmaintenanceProvides tools to fetch recent earthquake data from JMA/P2P/USGS catalogs and compute Gutenberg-Richter b-value and Omori-Utsu aftershock decay statistics using maximum likelihood estimation.Last updatedMIT
Related MCP Connectors
Search USGS and EMSC seismic data — real-time feeds, event queries, and earthquake counts.
Geospatial MCP server for earthquake, tsunami, volcano, disaster, and FX data queries.
USGS Earthquake Catalog MCP (FDSNWS event API).
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/amornpan/tmd-weather-mcp-stdio-2025-10-07'
If you have feedback or need assistance with the MCP directory API, please join our Discord server