
Japanese Weather MCP Server
A Model Context Protocol (MCP) server that provides access to Japanese weather forecasts using the weather.tsukumijima.net API.
Tools
get_weather_forecast
Get weather forecast for a Japanese city using city ID
get_available_city_ids
Get a list of available city IDs for Japanese cities
get_weather_by_city_name
Get weather forecast for common Japanese cities by name
README
Japanese Weather MCP Server
A Model Context Protocol (MCP) server that provides access to Japanese weather forecasts using the weather.tsukumijima.net API.
Features
- 🌤️ Get weather forecasts for Japanese cities
- 📍 Support for major Japanese cities (Tokyo, Osaka, Kyoto, etc.)
- 📊 Detailed weather information including temperature, precipitation chance, and wind conditions
- 🏢 Data sourced from Japan Meteorological Agency
- 🔧 Easy-to-use MCP tools for weather queries
Installation
Installing via Smithery
To install japanese-weather-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @kongyo2/japanese-weather-mcp --client claude
Manual Installation
- Clone this repository:
git clone https://github.com/kongyo2/Japanese-Weather-MCP
cd weather-mcp-server
- Install dependencies:
npm install
- Build the project:
npm run build
Usage
Development Mode
Run the server in development mode:
npm run dev
Production Mode
Build and run the server:
npm run build
npm start
Available Tools
1. get_weather_forecast
Get weather forecast for any Japanese city using its city ID.
Parameters:
cityId
(string): City ID for the Japanese city (e.g., '130010' for Tokyo)
Example:
{
"cityId": "130010"
}
2. get_available_city_ids
Get a list of available city IDs for common Japanese cities.
Parameters: None
Returns: List of available city IDs with their corresponding names.
3. get_weather_by_city_name
Get weather forecast for common Japanese cities by name.
Parameters:
cityName
(enum): Name of the Japanese city- Options: TOKYO, OSAKA, KYOTO, FUKUOKA, SAPPORO, NAGOYA, YOKOHAMA, KOBE, KAWASAKI, HIROSHIMA
Example:
{
"cityName": "TOKYO"
}
Common City IDs
City | ID | Prefecture |
---|---|---|
Tokyo | 130010 | Tokyo |
Osaka | 270000 | Osaka |
Kyoto | 260010 | Kyoto |
Fukuoka | 400010 | Fukuoka |
Sapporo | 016010 | Hokkaido |
Nagoya | 230010 | Aichi |
Yokohama | 140010 | Kanagawa |
Kobe | 280010 | Hyogo |
Kawasaki | 140020 | Kanagawa |
Hiroshima | 340010 | Hiroshima |
For more city IDs, visit: https://weather.tsukumijima.net/primary_area.xml
Weather Data Structure
The weather forecast includes:
-
Basic Information:
- Publication time and office
- Location details (prefecture, city, district)
-
Forecast Data (3 days):
- Weather condition (telop)
- Temperature (max/min in Celsius and Fahrenheit)
- Precipitation chance (6-hour intervals)
- Detailed weather information
- Wind conditions
- Wave height (for coastal areas)
-
Additional Information:
- Weather icons (SVG format)
- Links to official JMA weather pages
API Source
This MCP server uses the weather.tsukumijima.net API, which provides:
- Livedoor Weather API compatible format
- Data from Japan Meteorological Agency
- No API key required
- Free to use
Rate Limiting
Please be respectful of the API:
- Use a custom User-Agent header
- Avoid rapid successive requests
- Maintain at least 0.5-second intervals between requests
Error Handling
The server includes comprehensive error handling:
- Network connectivity issues
- Invalid city IDs
- API service unavailability
- Data parsing errors
Development
Project Structure
weather-mcp-server/
├── src/
│ ├── server.ts # Main MCP server implementation
│ └── weather-api.ts # Weather API client
├── package.json
├── tsconfig.json
└── README.md
Building
npm run build
Testing
npm test
Linting
npm run lint
Formatting
npm run format
License
MIT License - see LICENSE file for details.
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
Acknowledgments
- weather.tsukumijima.net for providing the weather API
- Japan Meteorological Agency for the weather data
- FastMCP for the MCP framework
Support
If you encounter any issues or have questions, please:
- Check the weather.tsukumijima.net documentation
- Review the available city IDs
- Ensure proper rate limiting
- Open an issue in this repository
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.