Get the FREE Ultimate OpenClaw Setup Guide →

quickstart-resources

A repository of servers and clients from the Model Context Protocol tutorials

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add modelcontextprotocol-quickstart-resources

How to use

This repository hosts MCP resources from the Quickstart tutorials, including a simple MCP weather server and an LLM-powered chatbot MCP client. The MCP weather server serves weather-related data through the MCP protocol, allowing clients to request weather information and related context. The MCP client demonstrates how to query MCP servers using an LLM-driven interface. To get started, clone the repository, start the weather server, and then interact with it using an MCP client or tooling that supports the MCP protocol. If you have multiple services in this repository, you can run them individually and then compose tests that exercise both the server and the client workflows to observe end-to-end behavior.

How to install

Prerequisites:

  • git
  • Node.js and/or Python, depending on which examples you intend to run
  • Basic command-line familiarity

Steps:

  1. Clone the repository: git clone https://github.com/your-org/modelcontextprotocol-quickstart-resources.git cd modelcontextprotocol-quickstart-resources
  2. Inspect the repository layout to identify which examples you want to run (e.g., a weather server or a chat client).
  3. If the example provides a Node.js server, install dependencies and run: npm install npm run start (Adjust commands based on the example's package.json scripts.)
  4. If the example is Python-based, create/activate a virtual environment and install requirements, then run the server script, for example: python -m venv venv source venv/bin/activate # on Windows use venv\Scripts\activate pip install -r requirements.txt python weather_server.py
  5. For multiple components, start each service in separate terminals and ensure any required environment variables (such as API keys or host/port settings) are configured as documented by the specific example.
  6. Follow the README or doc pages within each example for exact invocation details and tooling usage.

Additional notes

Security Note: These examples are intentionally minimal. If you expose an MCP server over a network (HTTP/SSE/WebSocket), add authentication and basic hardening (CORS allowlist, request size limits, timeouts, rate limits, and log redaction). See the repository's SECURITY.md for guidance. If you plan to run services locally, consider using local ports and environment isolation to avoid conflicts with other projects. When wiring a client to a server, verify protocol compatibility (MCP version, message schemas) and monitor logs for unexpected requests.

Related MCP Servers

Sponsor this space

Reach thousands of developers