Overview
What is weather-server MCP Server?
weather-server MCP Server is a TypeScript‑based Model Context Protocol server that implements a simple notes system. It demonstrates core MCP concepts by providing resources for text notes, tools for creating new notes, and prompts for generating summaries of stored notes.
How to use weather-server MCP Server?
Install dependencies with npm install, build the server with npm run build, or use npm run watch for development with auto‑rebuild. To use it with Claude Desktop, add a server configuration in the Claude Desktop config file (e.g., on MacOS ~/Library/Application Support/Claude/claude_desktop_config.json) specifying the command to the built index.js. Debugging is supported via the MCP Inspector, launchable with npm run inspector.
Key features of weather-server MCP Server
- List and access notes via
note://URIs - Each note has a title, content, and metadata
- Plain text mime type for simple content access
create_notetool to create new text notessummarize_notesprompt for LLM summarization- Fully implemented in TypeScript
Use cases of weather-server MCP Server
- Storing and retrieving text notes through an MCP host
- Automatically generating summaries of all stored notes
- Demonstrating MCP resource, tool, and prompt patterns in TypeScript
FAQ from weather-server MCP Server
What resources does weather-server MCP Server provide?
It provides text notes accessible via note:// URIs. Each note includes a title, content, and metadata, served with plain text mime type.
What tools are available in weather-server MCP Server?
The create_note tool accepts a title and content as required parameters and stores the note in the server’s state.
What prompts does weather-server MCP Server offer?
The summarize_notes prompt includes all stored notes as embedded resources and returns a structured prompt designed for LLM summarization.
How do I install and configure weather-server MCP Server with Claude Desktop?
Build the server first, then add a JSON entry to the Claude Desktop configuration file (MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%/Claude/claude_desktop_config.json) pointing to the server’s built index.js.
How can I debug weather-server MCP Server?
The MCP Inspector is recommended. Run npm run inspector to launch it; the Inspector provides a URL to access debugging tools in your browser.