MCP.so
登录

Weather MCP Server

@moizghumann

基本信息

分类

媒体与设计

传输方式

stdio

作者

moizghumann

关于 Weather MCP Server

暂无概览

Weather MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "weather-mcp-server-moizghumann": {
      "command": "node",
      "args": [
        "build/index.js"
      ]
    }
  }
}

Weather MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Weather MCP Server?

A Model Context Protocol server that fetches and processes weather data. Built with TypeScript and runs on Node.js, it uses the MCP SDK to expose weather information to compatible clients.

How to use Weather MCP Server?

Clone the repository, install dependencies (npm install), build the project (npm run build), then run the server (npm start or node build/index.js). Configure it via environment variables (e.g., API_KEY and PORT) in a .env file.

Key features of Weather MCP Server

  • Fetches and processes weather data.
  • Uses Model Context Protocol (MCP) SDK.
  • Built with TypeScript for type safety.
  • Configurable via environment variables.

Use cases of Weather MCP Server

  • Providing real-time weather data to MCP-enabled applications.
  • Integrating weather lookups into AI assistants or chatbots.
  • Serving as a lightweight backend for weather-based tools.

常见问题

1

What does Weather MCP Server do?

It provides weather data using the Model Context Protocol, allowing MCP clients to query weather information.

2

What are the runtime requirements?

Node.js (any version that supports the TypeScript compilation output) and the dependencies installed via `npm install`.

3

How do I configure the API key?

Set the `API_KEY` environment variable in a `.env` file in the project root. The server reads this variable at startup.

4

Where does the compiled code go?

The TypeScript source compiles to the `build/` directory. Ensure that `build/index.js` exists after running `npm run build`.

5

Are there any known limits or transport details?

The README does not specify transport protocols or authentication methods beyond the environment variable configuration. It runs on the port specified by the `PORT` variable (default 3000).

评论

媒体与设计 分类下的更多 MCP 服务器