Weather & WordPress MCP Server

Weather & WordPress MCP Server

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.

Category
Visit Server

Tools

get-posts-by-category

Get posts from a specific category on hafiz.blog (WordPress.com)

get-alerts

Get weather alerts for a state

get-forecast

Get weather forecast for a location

get-latest-posts

Get the 10 most recent posts from hafiz.blog (WordPress.com)

get-categories

Get all categories available on hafiz.blog (WordPress.com)

README

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.

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured