About wp-mcp
wp-mcp is an MCP server for accessing National Weather Service alerts and forecasts alongside content from hafiz.blog. It is suited to users who want weather and blog data available as callable tools, including in combined queries.
Key features
- 01Fetch active U.S. state weather alerts
- 02Get forecasts by coordinates
- 03Retrieve latest hafiz.blog posts
- 04List blog categories
- 05Find posts by category slug
Use cases
- 01Check weather alerts for a U.S. state
- 02Get a forecast for specified coordinates
- 03Review recent posts or categories on hafiz.blog
- 04Compare a blog post date with weather conditions
MCP support
Exposes weather and WordPress capabilities as tools in an MCP server, accessible to MCP clients such as Claude Desktop.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEwp-mcp
wp-mcp is a weather and WordPress integration tool built using the Model Context Protocol (MCP). This project provides two primary features:
- Weather Alerts & Forecasts using the National Weather Service API.
- Various contents from a personal WordPress blog (
hafiz.blog).
The project exposes these features as tools within a MCP server, allowing easy access through a command-line interface.
Features
Weather Tools
- Get Active Alerts: Fetch current weather alerts for a U.S. state.
- Get Forecast: Get weather forecasts based on geographical coordinates (latitude and longitude).
WordPress Tools
- Get Latest Posts: Retrieve the 10 most recent posts from a WordPress blog (specifically, my personal blog hafiz.blog).
- Get Categories: Retrieve all categories in the site.
- Get Posts by Category: Retrieve posts from a specific category by providing the category slug.
Combine them!
To demo Claude using both tools at once, you can try some clever prompt like:
- "Get the date from the latest post on hafiz.blog, and check the weather in San Francisco on that date."
- "Check all the categories in hafiz.blog, find one that's likely written in Indonesian, and then make me an poem in Indonesian language based on a post from that category."
Installation
Prerequisites
Steps:
npm run build- Connect the server with Claude Desktop, which needs to be installed locally. Follow the instruction here.
- Once Claude Desktop detects the MCP server, try various prompts to check weather, or get latest posts on hafiz.blog, or do a combo prompt as mentioned above.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.