Weather MCP Server in TypeScript
@rehmat123
About Weather MCP Server in TypeScript
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"weather": {
"command": "npx",
"args": [
"@rehmatalisayany/weather-mcp-server"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Weather MCP Server in TypeScript?
A Model Context Protocol (MCP) server that fetches current weather data using the Open-Meteo API. It integrates with Cursor IDE and Langchain agents, providing a single tool to retrieve weather information for any location.
How to use Weather MCP Server in TypeScript?
Install locally by cloning the repository, running npm i and npm build, then connecting via StdioClientTransport with command node dist/index.js. For remote use without local installation, use npx @rehmatalisayany/weather-mcp-server with StdioClientTransport. In Cursor IDE, add a server entry in cursor.json using the remote command and stdio transport.
Key features of Weather MCP Server in TypeScript
- Single tool
getWeatherto retrieve current weather. - Returns temperature (Celsius), conditions, humidity, and wind speed.
- Uses the free Open-Meteo API (no API key required).
- Supports both local and remote (npx) deployment.
- Can be integrated with Cursor IDE and Langchain agents.
- Written in TypeScript and distributed as an npm package.
Use cases of Weather MCP Server in TypeScript
- Get current weather information directly within Cursor IDE.
- Use as a tool in a Langchain agent or other MCP-compatible applications.
- Quickly answer weather queries without leaving the development environment.
FAQ from Weather MCP Server in TypeScript
How do I connect to the Weather MCP Server in Cursor IDE?
Add the following configuration to your cursor.json: "weather": { "command": "@rehmatalisayany/weather-mcp-server", "transport": "stdio" }.
How do I run the server locally?
Clone the repository, run npm i and npm build, then use node dist/index.js as the command in your MCP client.
How do I use the remote version without installation?
Use npx @rehmatalisayany/weather-mcp-server as the command with StdioClientTransport. No local installation is needed.
What tool does the server provide?
It provides the getWeather tool, which accepts a location string (city name) and returns temperature (Celsius), conditions (description), humidity (%), and windSpeed (m/s).
Is there example client code?
Yes, the repository includes get-weather.ts (not shown in full) that demonstrates connecting to the MCP server using StdioClientTransport.
More Media & Design MCP servers
YouTube Transcript MCP Server
jkawamotoMCP server retrieving transcripts of YouTube videos
MiniMax MCP JS
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) JavaScript implementation that provides seamless integration with MiniMax's powerful AI capabilities including image generation, video generation, text-to-speech, and voice cloning APIs.
RustChain MCP
ScottcjnMCP server for RustChain blockchain and BoTTube video platform — AI agent tools for earning RTC tokens. Built on createkr's RustChain SDK.
Image-Gen-Server
fengin一个能与Cursor集成的图片生成mcp server工具,实现调用即梦逆向接口
Melrōse - programming of music melodies
emickleiinteractive programming of melodies, producing MIDI
Comments