wp-mcp

wp-mcp

0

The wp-mcp project is designed to integrate weather alerts and WordPress content using the Model Context Protocol. It offers tools to retrieve weather forecasts and blog content, accessible through a command-line interface.

wp-mcp

wp-mcp is a tool that integrates weather information and WordPress content using the Model Context Protocol (MCP). It features weather alerts and forecasts from the National Weather Service API and provides content access from a personal WordPress blog via 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 geographic coordinates.

WordPress Tools

  • Get Latest Posts: Retrieve the 10 most recent posts from a WordPress blog.
  • Get Categories: Retrieve all categories from the site.
  • Get Posts by Category: Retrieve posts from a category using the category slug.

Combine Them!

Users can combine features for unique queries like checking the weather on the date of the latest blog post or creating prompts based on WordPress categories.

Installation

Prerequisites

  • Node.js (v14.x or above)
  • npm

Steps:

  1. Run the build command with npm.
  2. Connect the server with Claude Desktop.
  3. Use the server to perform weather checks or blog post retrievals with various prompts.