Claude MCP Server for USGS Quakes API
USGS-지진-MCP
USGS Quakes API를 위한 Claude MCP 서버
Claude Desktop 내에서 USGS Quakes API 에 대한 액세스를 제공하기 위한 MCP 서버 구현입니다.
개요
이 모델 컨텍스트 프로토콜(MCP) 서버를 통해 AI 어시스턴트와 애플리케이션은 다음을 수행할 수 있습니다.
다양한 검색 매개변수를 통해 지진 데이터를 얻으세요
특정 지진에 대한 세부 정보를 얻으세요
사용자는 자연어를 사용하여 쿼리를 실행할 수 있습니다.
Related MCP server: earthquake-mcp-server
샘플 출력
질문: 지난 20년 동안 플로리다에서 발생한 규모 2 이상의 지진을 찾으세요.
답변: 지난 20년 동안 플로리다에서 발생한 규모 2.0 이상의 지진을 검색하는 데 도움을 드리겠습니다.
usgs-quakes(로컬)에서 find-earthquakes의 결과 보기
지엑스피1
USGS 지진 데이터에 따르면, 지난 20년 동안 플로리다 또는 그 주변에서 주목할 만한 지진이 3번 발생했습니다.
2006년 9월 10일 멕시코만에서 발생한 규모 5.9의 지진은 북위 26.319도, 서경 86.606도에서 발생했으며 깊이는 14km였습니다. 이 지진은 이 기간 동안 이 지역에서 발생한 가장 큰 지진이었습니다. 5,763명이 지진을 느꼈다고 보고했으며 널리 감지되었습니다.
2019년 3월 6일 플로리다 주 제이 근처에서 발생한 규모 2.8 지진(위치: 북위 30.9718°, 서경 87.1719°) 깊이: 5km 49명이 이 지진을 느꼈다고 보고했습니다.
2019년 3월 24일 플로리다 센추리 인근에서 발생한 규모 2.7 지진(위도 30.9622°N, 서경 87.2384°) 깊이 5km 지진을 느꼈다고 보고한 사람은 4명
플로리다는 미국에서 지진 활동이 활발한 지역에 비해 지진 발생 빈도가 상대적으로 낮다는 점에 주목할 필요가 있습니다. 2019년에 발생한 두 건의 지진은 플로리다 팬핸들에서 발생했고, 2006년에 발생한 더 큰 지진은 멕시코만 연안에서 발생했습니다.
질문: 플로리다 제이 지진에 대한 자세한 내용을 알아보세요
A: 플로리다 주 제이 근처에서 발생한 규모 2.8의 지진에 대한 자세한 정보를 알아보겠습니다.
usgs-quakes(로컬)의 find-earthquake-details에서 결과 보기
{
"eventid": "us1000jbw4"
}플로리다 주 제이 지진에 대한 주요 세부 정보는 다음과 같습니다. 날짜 및 시간: 2019년 3월 7일 04:45:52 UTC 위치: 플로리다 주 제이 북서쪽 2km(1.2마일) 좌표: 북위 30.9718°, 서경 87.1719° 깊이: 5km(3.1마일) 규모: 2.8 mb_lg(실체파 규모)
추가 세부 정보:
49명이 지진을 느꼈다고 보고했다
CIIM(Community Internet Intensity Map)은 최대 강도가 2.7임을 보여주었습니다.
쓰나미가 발생하지 않았습니다
지진은 USGS 과학자들에 의해 검토 및 확인되었습니다.
해당 위치의 수평 오차 한계는 약 6.2km였습니다.
규모 계산에는 11개 지진 관측소의 데이터가 사용되었습니다.
뉴멕시코 지진 관측망(NM)에서도 지진을 감지했으며, 규모는 약간 다른 2.63으로 계산되었습니다.
기술적 측정:
방위각 차이: 243도(지진 관측소의 중간 범위임을 나타냄)
RMS 오차: 0.59(위치 추정의 품질이 적절함을 나타냄)
가장 가까운 역까지의 최소 거리: 0.222도
크기에 대한 표준 오차: 0.154
비교적 약한 지진이었지만, 지진 활동이 거의 없는 플로리다에서는 주목할 만한 지진이었습니다. 49명이 진동을 느꼈다는 사실은 인근 지역 주민들이 진동을 느낄 수 있었음을 시사하지만, 이 정도 규모의 지진이 발생하더라도 큰 피해는 예상되지 않습니다.
설치
Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 USGS 지진 데이터를 자동으로 설치하려면:
npx -y @smithery/cli install @blake365/usgs-quakes-mcp --client claude수동 설치
Node.js와 MCP 프로토콜에 익숙하지 않다면 설치하는 것이 까다로울 수 있습니다.
Node.js 설치
이 저장소를 로컬 컴퓨터의 폴더에 복제하세요.
서버가 이미 구축되어 있으므로 빌드 단계를 건너뛸 수 있습니다.
추가 단계
서버를 변경하려면 src/index.ts 파일을 편집하면 됩니다.
npm install실행하여 종속성을 설치합니다.npm run build실행하여 서버를 빌드합니다.변경 사항을 적용한 후 Claude Desktop을 종료하고 다시 시작하세요.
Claude Desktop과 연결
Claude Desktop 구성을 다음에서 엽니다.
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
서버 구성을 추가합니다.
{
"mcpServers": {
"usgs-quakes": {
"command": "node",
"args": [
"/Full/Route/to/Folder/usgs-quakes/build/index.js"
]
}
}
}Claude Desktop을 닫거나 종료한 후 다시 시작하세요.
재시작하면 텍스트 상자 오른쪽 하단에 작은 망치 아이콘이 표시됩니다. 아이콘 위에 마우스를 올리면 사용 가능한 MCP 도구의 개수가 표시됩니다.
문제 해결
서버 실행 중 오류가 발생하면 node 명령어의 전체 경로를 입력해야 할 수 있습니다. 예를 들어 macOS에서는 /usr/local/bin/node 입력합니다.
Available Tools
3 toolscount-earthquakesCount EarthquakesARead-only
Count earthquakes matching the given search parameters, without returning the events themselves. Useful for sizing a query before running it.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of events to return (service maximum 20000) | |
| endTime | No | Limit to events on or before this end time. Times use ISO8601 Date/Time format. Unless a timezone is specified, UTC is assumed. Defaults to NOW. | |
| orderby | No | Sort order. Defaults to time, most recent first. | |
| latitude | No | Latitude for a circular radius search | |
| maxdepth | No | Limit to events shallower than this, in kilometres | |
| mindepth | No | Limit to events deeper than this, in kilometres | |
| longitude | No | Longitude for a circular radius search | |
| startTime | No | Limit to events on or after this start time. Times use ISO8601 Date/Time format. Unless a timezone is specified, UTC is assumed. Defaults to NOW - 30 days. | |
| maxLatitude | No | Northern edge of a search rectangle. Minimum values must be less than maximum values. Requests that use both a rectangle and a circle return the intersection, which may be empty. | |
| maxradiuskm | No | Limit to events within this many kilometres of the latitude/longitude point | |
| minLatitude | No | Southern edge of a search rectangle. Minimum values must be less than maximum values. Requests that use both a rectangle and a circle return the intersection, which may be empty. | |
| maxLongitude | No | Eastern edge of a search rectangle. Minimum values must be less than maximum values. Requests that use both a rectangle and a circle return the intersection, which may be empty. | |
| maxmagnitude | No | Limit to events with at most this magnitude | |
| minLongitude | No | Western edge of a search rectangle. Rectangles may cross the date line using minLongitude < -180 or maxLongitude > 180. Minimum values must be less than maximum values. Requests that use both a rectangle and a circle return the intersection, which may be empty. | |
| minmagnitude | No | Limit to events with at least this magnitude |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the description adds value by stating 'without returning the events themselves' and positioning the tool for sizing queries. This clarifies the tool's read-only, summary nature beyond what annotations alone provide.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, each earning its place: first states the action, second provides usage context. No filler, front-loaded with the core purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the action and usage context but does not specify the return format (e.g., returns a number). Since no output schema exists, this omission leaves the agent guessing what the output looks like. Adequate but not complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Input schema coverage is 100%, with all 15 parameters having descriptions. The description adds no additional parameter-level information beyond 'matching the given search parameters.' Baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Count' and the resource 'earthquakes', and specifies that it does not return events, distinguishing it from sibling tool 'find-earthquakes' which likely returns events. This makes the purpose unmistakable.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance: 'Useful for sizing a query before running it.' This implies the tool should be used before a search query to gauge result size, and contrasts with sibling tools that return data. However, it doesn't explicitly state when not to use it or name alternatives directly.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find-earthquake-detailsFind Earthquake DetailsARead-only
Get detailed information about a single earthquake, including origin quality metrics, by its USGS event id (e.g. 'us6000d3zh').
| Name | Required | Description | Default |
|---|---|---|---|
| eventid | Yes | The USGS earthquake event id |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark readOnlyHint=true and openWorldHint=true, so the description doesn't need to emphasize safe read behavior. It adds that the tool returns 'origin quality metrics', a useful detail beyond annotations, but does not mention pagination, response size, or whether all fields are always present.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with an example inline. Every word is meaningful and there is no filler. Highly front-loaded: key action and parameter type stated immediately.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has only 1 parameter, full schema coverage, and informative annotations, the description is nearly complete for a lookup tool. It could mention whether the response is synchronous or if the ID format is always lowercase, but overall it is largely sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%; the schema already defines eventid as a string with a description. The description adds a concrete example ('us6000d3zh') which aids understanding, but doesn't add deeper semantics beyond what the schema provides. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool gets detailed information for a single earthquake using a specific USGS event ID. The verb 'Get' and resource 'detailed information' are specific, and the example helps differentiate from sibling tools like find-earthquakes which likely return lists.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies use when you have a specific event ID, but it does not explicitly state when not to use it or contrast with count-earthquakes. The sibling tools exist but no direct guidance on trade-offs is given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find-earthquakesFind EarthquakesBRead-only
Search the USGS earthquake catalog by time, location, magnitude, and depth. Returns a summary of each matching event.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of events to return (service maximum 20000) | |
| endTime | No | Limit to events on or before this end time. Times use ISO8601 Date/Time format. Unless a timezone is specified, UTC is assumed. Defaults to NOW. | |
| orderby | No | Sort order. Defaults to time, most recent first. | |
| latitude | No | Latitude for a circular radius search | |
| maxdepth | No | Limit to events shallower than this, in kilometres | |
| mindepth | No | Limit to events deeper than this, in kilometres | |
| longitude | No | Longitude for a circular radius search | |
| startTime | No | Limit to events on or after this start time. Times use ISO8601 Date/Time format. Unless a timezone is specified, UTC is assumed. Defaults to NOW - 30 days. | |
| maxLatitude | No | Northern edge of a search rectangle. Minimum values must be less than maximum values. Requests that use both a rectangle and a circle return the intersection, which may be empty. | |
| maxradiuskm | No | Limit to events within this many kilometres of the latitude/longitude point | |
| minLatitude | No | Southern edge of a search rectangle. Minimum values must be less than maximum values. Requests that use both a rectangle and a circle return the intersection, which may be empty. | |
| maxLongitude | No | Eastern edge of a search rectangle. Minimum values must be less than maximum values. Requests that use both a rectangle and a circle return the intersection, which may be empty. | |
| maxmagnitude | No | Limit to events with at most this magnitude | |
| minLongitude | No | Western edge of a search rectangle. Rectangles may cross the date line using minLongitude < -180 or maxLongitude > 180. Minimum values must be less than maximum values. Requests that use both a rectangle and a circle return the intersection, which may be empty. | |
| minmagnitude | No | Limit to events with at least this magnitude |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true (safe read) and openWorldHint=true (data may change). The description adds that it returns a 'summary' (concise, not full detail) and confirms parameters are filters. Bar is lower due to annotations; description adds small value but doesn't explain things like rate limits, pagination, or whether results are sorted by default (the schema says orderby defaults to 'time').
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Short single sentence that is front-loaded with the key action ('Search the USGS earthquake catalog...'). No filler or redundancy. Could be slightly improved by noting the return type, but overall concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the high complexity (15 params, no output schema, rectangle/circle interaction), the description is incomplete. It does not explain return format or behavior beyond 'summary', nor does it document the rectangle-circle intersection behavior visible in the schema. The annotations add value but the description should compensate more for the missing output schema. A 3 reflects this gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already has 100% description coverage with detailed explanations for all 15 parameters (e.g., ISO8601 format for time, units for depth/radius, circular vs rectangle logic). The description adds minimal meaning beyond 'earthquake catalog' context. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool searches the USGS earthquake catalog by specific criteria (time, location, magnitude, depth) and returns a summary. It distinguishes from siblings like 'find-earthquake-details' (which likely returns full details) and 'count-earthquakes'. However, it could more explicitly contrast with these siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies use for searching earthquakes with given filters but provides no guidance on when to prefer this over 'find-earthquake-details' or 'count-earthquakes'. It does not mention when not to use it, e.g., for detailed event info or aggregation queries.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v1.1.1- First observed
count-earthquakes - First observed
find-earthquake-details - First observed
find-earthquakes
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: find-earthquakes returns summaries, count-earthquakes returns counts, and find-earthquake-details returns full details for a single ID. There is no overlap or ambiguity.
All tool names follow a consistent verb_noun pattern (find_earthquakes, count_earthquakes, find_earthquake_details) with snake_case and predictable prefixes, making them easy for an agent to understand and select.
Three tools is ideal for a focused read-only API like the USGS earthquake catalog. Each tool serves a necessary function without redundancy or bloat.
The tool set covers the full query lifecycle: search with filtering, count before retrieval, and detailed view by ID. There are no obvious gaps given the read-only nature of the API.
Maintenance
Related MCP Connectors
Search USGS and EMSC seismic data — real-time feeds, event queries, and earthquake counts.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
Real-time earthquake events from the US Geological Survey
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides access to the USGS Earthquake Catalog for querying earthquake events via the FDSNWS API, enabling natural language questions about earthquake data.29 npmMIT
- AlicenseAqualityDmaintenanceReal-time earthquake data and seismic monitoring for AI agents via the USGS Earthquake Catalog API.8MIT
- FlicenseAqualityDmaintenanceIntegrates the US National Weather Service API with Claude Desktop, enabling users to query current conditions and forecasts using natural language.2-
- FlicenseNot gradedqualityCmaintenanceEnables users to explore live earthquake data from USGS, with an interactive widget for filtering and visualizing seismic events worldwide.-