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.”
Installation
Prerequisites
- Node.js (v14.x or above)
- npm
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.
Weather and WordPress Integration Server
Project Details
- hafizrahman/wp-mcp
- Last Updated: 5/6/2025
Recomended MCP Servers
MCP server stack for Claude that gives it terminal control
A specialized Model Context Protocol (MCP) server that enables AI-powered interview roleplay scenarios
MCP 서버 학습을 위한 간단예제 실습
Model Context Protocol Servers
CLI & MCP server for scanning code definitions (.gitignore aware, LLM output)
MCP server for vibe developers that are too busy to run tests and static analysis.
A Model Context Protocol (MCP) server for Tripadvisor Content API. This provides access to Tripadvisor location data, reviews,...
home-assistant-mcp-server
mcp服务
加密mcp服务器,crypto mcp