Weather & WordPress MCP Server
Fetches content from WordPress blogs, specifically retrieving latest posts, categories, and posts by category from hafiz.blog.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Weather & WordPress MCP Server what's the weather in New York today?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
wp-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."
Related MCP server: Claude-NWS Protocol Bridge
Installation
Prerequisites
Steps:
npm run buildConnect 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.
Available Tools
5 toolsget-alertsC
Get weather alerts for a state
Inputs: state (required).
get-categoriesB
Get all categories available on hafiz.blog (WordPress.com)
Inputs: no named parameters.
get-forecastC
Get weather forecast for a location
Inputs: latitude (required), longitude (required).
get-latest-postsA
Get the 10 most recent posts from hafiz.blog (WordPress.com)
Inputs: no named parameters.
get-posts-by-categoryC
Get posts from a specific category on hafiz.blog (WordPress.com)
Inputs: categorySlug (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
The tools are clearly split into two domains (weather and WordPress), but within each domain there is some overlap. For weather, get-alerts and get-forecast both provide weather information but for different purposes, which could cause confusion. For WordPress, get-latest-posts and get-posts-by-category both retrieve posts but with different filters, which might lead to misselection if the agent isn't clear on the distinction.
All tool names follow a consistent verb_noun pattern with hyphens (get-alerts, get-categories, get-forecast, get-latest-posts, get-posts-by-category). This makes them predictable and easy to understand, with no deviations in style or convention across the set.
With 5 tools, the count is reasonable, but it feels thin for covering two distinct domains (weather and WordPress). Each domain only has 2-3 tools, which might not provide enough functionality for comprehensive workflows in either area, making it borderline appropriate.
There are significant gaps in both domains. For weather, there's no way to get current conditions or historical data, limiting coverage. For WordPress, there are no tools for creating, updating, or deleting posts or categories, making it read-only and incomplete for typical content management tasks.
Maintenance
Related MCP Connectors
US NWS weather alerts and 5-day forecasts for AI agents. $0.01 per call.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
Get US weather forecasts, active alerts, and current observations.
Related MCP Servers
- FlicenseDqualityDmaintenanceProvides real-time weather forecasts and alerts by fetching data from the National Weather Service API, allowing Claude to answer weather-related questions with up-to-date information.2-
- FlicenseBqualityDmaintenanceIntegrates the US National Weather Service API with Claude Desktop to provide real-time weather conditions, forecasts, and detailed weather metrics for any US location through natural language queries.21-
- FlicenseBqualityDmaintenanceProvides real-time US weather alerts and forecasts by integrating with the National Weather Service API. It enables AI assistants to fetch state-specific alerts and detailed local forecasts using geographic coordinates.21-
- FlicenseDqualityDmaintenanceProvides weather alerts and forecasts via the National Weather Service API, enabling Claude to answer weather-related queries.2-