Cover image
Try Now
2025-01-29

用于查询使用自然语言的USGS地震API的MCP服务器

3 years

Works with Finder

1

Github Watches

1

Github Forks

1

Github Stars

usgs-quakes-mcp

smithery badge Claude MCP server for USGS Quakes API

An MCP server implementation for providing access to the USGS Quakes API within Claude Desktop.

Overview

This Model Context Protocol (MCP) server enables AI assistants and applications to:

  • Get earthquake data through a wide variety of search parameters
  • Get details about a specific earthquake

Users can run queries using natural language.

Sample Output

Q: find earthquakes over 2 magnitude in florida over the last 20 years

A: I'll help you search for earthquakes in Florida with a magnitude greater than 2.0 over the past 20 years.

View Result from find-earthquakes from usgs-quakes (local)

{
  "endTime": "2024-12-28T23:59:59",
  "startTime": "2004-12-28T00:00:00",
  "maxLatitude": 31.000888,
  "minLatitude": 24.396308,
  "maxLongitude": -80.031362,
  "minLongitude": -87.634896,
  "minmagnitude": 2
}

Based on the USGS earthquake data, there have been three notable earthquakes in or near Florida over the past 20 years:

  1. A magnitude 5.9 earthquake in the Gulf of Mexico on September 10, 2006 Located offshore at coordinates 26.319°N, 86.606°W Depth: 14 km This was the largest earthquake in the region during this period It was widely felt, with 5,763 people reporting feeling the quake

  2. A magnitude 2.8 earthquake near Jay, Florida on March 6, 2019 Located at coordinates 30.9718°N, 87.1719°W Depth: 5 km 49 people reported feeling this earthquake

  3. A magnitude 2.7 earthquake near Century, Florida on March 24, 2019 Located at coordinates 30.9622°N, 87.2384°W Depth: 5 km 4 people reported feeling this earthquake

It's worth noting that Florida experiences relatively few earthquakes compared to more seismically active regions of the United States. The two 2019 earthquakes occurred in the Florida panhandle, while the larger 2006 event was offshore in the Gulf of Mexico.

Q: get the details of the Jay Florida earthquake

A: I'll get the detailed information about the magnitude 2.8 earthquake that occurred near Jay, Florida.

View Result from find-earthquake-details from usgs-quakes (local)

{
  "eventid": "us1000jbw4"
}

Here are the key details about the Jay, Florida earthquake: Date and Time: March 7, 2019, at 04:45:52 UTC Location: 2 km (1.2 miles) Northwest of Jay, Florida Coordinates: 30.9718°N, 87.1719°W Depth: 5 kilometers (3.1 miles) Magnitude: 2.8 mb_lg (body wave magnitude)

Additional details:

  • 49 people reported feeling the earthquake
  • The Community Internet Intensity Map (CIIM) showed a maximum intensity of 2.7
  • There was no tsunami generated
  • The earthquake was reviewed and confirmed by USGS scientists
  • The location had a horizontal error margin of about 6.2 km
  • The magnitude calculation used data from 11 seismic stations
  • The earthquake was also detected by the New Mexico seismic network (NM), which calculated a slightly different magnitude of 2.63

Technical measurements:

  • Azimuthal gap: 243 degrees (indicates moderate coverage by seismic stations)
  • RMS error: 0.59 (indicates reasonable quality of the location estimate)
  • Minimum distance to nearest station: 0.222 degrees
  • Standard error for magnitude: 0.154

This was a relatively minor earthquake, but notable for Florida which rarely experiences seismic activity. The fact that it was felt by 49 people suggests it was noticeable to residents in the immediate area, though no significant damage would be expected from an earthquake of this magnitude.

Installation

Installing via Smithery

To install USGS Earthquake Data for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @blake365/usgs-quakes-mcp --client claude

Manual Installation

Installing this might be tricky if you're not familiar with Node.js and the MCP protocol.

  1. Install Node.js
  2. Clone this repository to a folder on your local machine
  3. The server is already built so you can skip the build step.

Extra Steps

If you want to make changes to the server you can do so by editing the src/index.ts file.

  • Run npm install to install dependencies
  • Run npm run build to build the server
  • Quit and restart Claude Desktop after making changes

Connecting with Claude Desktop

  1. Open your Claude Desktop configuration at:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the server configuration:

{
    "mcpServers": {
        "usgs-quakes": {
            "command": "node",
            "args": [
                "/Full/Route/to/Folder/usgs-quakes/build/index.js"
            ]
        }
    }
}
  1. Close/Quit then restart Claude Desktop

Once you restart you should see a small hammer icon in the lower right corner of the textbox. If you hover over the icon you'll see the number of MCP tools available.

Troubleshooting

If you get errors when running the server you may need to provide the full path to the node command. For example, on macOS: /usr/local/bin/node

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • https://duotify.com
  • Professional code reviewer for a unique language, friendly and helpful.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Andris Teikmanis
  • Latvian GPT assistant for developing GPT applications

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Navid RezaeiSarchoghaei
  • Professional Flask/SQLAlchemy code guide. Follow: https://x.com/navid_re

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://cantaspinar.com
  • Summarizes videos and answers related questions.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    4 (1)
    Avatar
    user_KYkSx8mL
    2025-04-15

    MCP Server - My Apple Remembers by baryhuang is an exceptional product that has significantly improved my workflow. It's incredibly easy to use and integrates seamlessly with my existing systems. The functionality and performance are top-notch, making it a reliable tool for managing and retrieving my data. I highly recommend it to anyone looking for a robust server solution. Check it out: https://mcp.so/server/my-apple-remembers/baryhuang