AgentHubAgentHub

usgs-water-mcp-server

MCP ServerMCP Registry官方收录

io.github.cyanheads/usgs-water-mcp-server · v0.1.4

Query real-time and historical USGS water data from ~8,000 stream gages and groundwater wells.

概览

usgs-water-mcp-server 是一个MCP Server,收录自 官方 MCP Registry。支持 streamable-http、stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "usgs-water-mcp-server": {
      "command": "bun",
      "args": [
        "-y",
        "@cyanheads/usgs-water-mcp-server"
      ]
    }
  }
}

环境变量

USGS_USER_AGENT可选

Custom User-Agent string for USGS NWIS requests. Defaults to a descriptive identifier including the repo URL.

USGS_REQUEST_TIMEOUT_MS可选

HTTP request timeout in milliseconds for NWIS calls. Default: 30000.

MCP_LOG_LEVEL可选

Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

USGS_USER_AGENT可选

Custom User-Agent string for USGS NWIS requests. Defaults to a descriptive identifier including the repo URL.

USGS_REQUEST_TIMEOUT_MS可选

HTTP request timeout in milliseconds for NWIS calls. Default: 30000.

MCP_HTTP_HOST可选

The hostname for the HTTP server.

MCP_HTTP_PORT可选

The port to run the HTTP server on.

MCP_HTTP_ENDPOINT_PATH可选

The endpoint path for the MCP server.

MCP_AUTH_MODE可选

Authentication mode to use: 'none', 'jwt', or 'oauth'.

MCP_LOG_LEVEL可选

Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

相关资源

统一 Manifest

{
  "id": "io.github.cyanheads/usgs-water-mcp-server",
  "type": "mcp-server",
  "version": "0.1.4",
  "displayName": "usgs-water-mcp-server",
  "description": "Query real-time and historical USGS water data from ~8,000 stream gages and groundwater wells.",
  "repository": {
    "url": "https://github.com/cyanheads/usgs-water-mcp-server",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "@cyanheads/usgs-water-mcp-server",
        "version": "0.1.4",
        "runtimeHint": "bun",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "USGS_USER_AGENT",
            "description": "Custom User-Agent string for USGS NWIS requests. Defaults to a descriptive identifier including the repo URL."
          },
          {
            "name": "USGS_REQUEST_TIMEOUT_MS",
            "description": "HTTP request timeout in milliseconds for NWIS calls. Default: 30000."
          },
          {
            "name": "MCP_LOG_LEVEL",
            "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
          }
        ]
      },
      {
        "registryType": "npm",
        "identifier": "@cyanheads/usgs-water-mcp-server",
        "version": "0.1.4",
        "runtimeHint": "bun",
        "transport": "streamable-http",
        "environmentVariables": [
          {
            "name": "USGS_USER_AGENT",
            "description": "Custom User-Agent string for USGS NWIS requests. Defaults to a descriptive identifier including the repo URL."
          },
          {
            "name": "USGS_REQUEST_TIMEOUT_MS",
            "description": "HTTP request timeout in milliseconds for NWIS calls. Default: 30000."
          },
          {
            "name": "MCP_HTTP_HOST",
            "description": "The hostname for the HTTP server."
          },
          {
            "name": "MCP_HTTP_PORT",
            "description": "The port to run the HTTP server on."
          },
          {
            "name": "MCP_HTTP_ENDPOINT_PATH",
            "description": "The endpoint path for the MCP server."
          },
          {
            "name": "MCP_AUTH_MODE",
            "description": "Authentication mode to use: 'none', 'jwt', or 'oauth'."
          },
          {
            "name": "MCP_LOG_LEVEL",
            "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
          }
        ]
      }
    ],
    "remotes": [
      {
        "transport": "streamable-http",
        "url": "https://usgs-water.caseyjhand.com/mcp"
      }
    ]
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.cyanheads/usgs-water-mcp-server",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.cyanheads%2Fusgs-water-mcp-server/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
usgs-water-mcp-server — MCP Server 安装与配置 · AgentHub