PC-MCP logo

PC-MCP

by shijianzhong

PC-MCP is a Model Context Protocol (MCP) server for accessing weather data and system functions from your PC. It allows you to retrieve weather alerts, forecasts, schedule system shutdowns/restarts, perform smart browser searches, and capture screenshots.

View on GitHub

Last updated: N/A

What is PC-MCP?

PC-MCP is a Node.js-based server that uses the Model Context Protocol (MCP) to provide access to weather information and system control functionalities on a PC.

How to use PC-MCP?

You can install PC-MCP globally using npm install -g pc-mcp or run it directly with npx pc-mcp. Alternatively, you can clone the repository and run it locally after installing dependencies. The server provides several commands accessible via the MCP protocol, such as get_alerts, get_forecast, shutdown_system, open_browser_search, and capture_screenshot, each with its own parameters.

Key features of PC-MCP

  • Weather alerts by US state code

  • Detailed local weather forecasts by coordinates

  • System shutdown/restart scheduling

  • Smart browser search with URL detection

  • Screenshot capture

Use cases of PC-MCP

  • Automating weather monitoring for specific locations

  • Scheduling system shutdowns or restarts based on custom criteria

  • Quickly searching the web with intelligent URL detection

  • Capturing screenshots for documentation or sharing

  • Integrating PC system control into a larger automation workflow

FAQ from PC-MCP

What is MCP?

MCP stands for Model Context Protocol, a protocol used for communication between different components.

What weather data source does PC-MCP use?

PC-MCP uses the US National Weather Service (NWS) API for weather data.

What operating systems are supported?

PC-MCP supports Windows, macOS, and Linux systems.

What Node.js version is required?

Node.js v18 or higher is required.

Where are logs stored?

Logs are automatically created in a file named mcp-server-for-pc.log in the current working directory.