Weather & WordPress MCP Server

Integrations

  • Fetches content from WordPress blogs, specifically retrieving latest posts, categories, and posts by category from hafiz.blog.

wp-mcp

wp-mcp is a weather and WordPress integration tool built using the Model Context Protocol (MCP). This project provides two primary features:

  1. Weather Alerts & Forecasts using the National Weather Service API.
  2. 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:

  1. npm run build
  2. Connect the server with Claude Desktop, which needs to be installed locally. Follow the instruction here.
  3. 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.

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

An integration tool that allows users to fetch weather alerts/forecasts from the National Weather Service API and retrieve latest posts from hafiz.blog through natural language interactions with Claude.

  1. Features
    1. Weather Tools
    2. WordPress Tools
    3. Combine them!
  2. Installation
    1. Prerequisites
    2. Steps:

Related MCP Servers

  • -
    security
    A
    license
    -
    quality
    Provides real-time weather data, forecasts, and historical weather information from OpenWeatherMap API for Claude Desktop, enabling natural language queries about current conditions, forecasts, air quality, and weather alerts worldwide.
    Last updated -
    Python
    MIT License
  • A
    security
    F
    license
    A
    quality
    A Model Context Protocol server that provides AI agents with tools to retrieve weather alerts and detailed forecasts for US locations using the National Weather Service API.
    Last updated -
    2
    115
    TypeScript
  • A
    security
    F
    license
    A
    quality
    A Model Context Protocol server that provides comprehensive weather data querying capabilities based on the Caiyun Weather API, supporting real-time weather, forecasts, and alerts with multi-language support.
    Last updated -
    7
    1
    TypeScript
  • -
    security
    F
    license
    -
    quality
    A lightweight microservice that fetches weather alerts and forecasts from the National Weather Service API, providing U.S. state-level alerts and location-based forecasts.
    Last updated -
    Python

View all related MCP servers

ID: cdf6bqmm1d