MCP.so
Sign In

Claude MCP Protocol Practice

@harshal-14

About Claude MCP Protocol Practice

MCP server example practice

Basic information

Category

AI & Agents

Runtime

python

Transports

stdio

Publisher

harshal-14

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp_server_101": {
      "command": "uv",
      "args": [
        "run",
        "weather.py"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Claude MCP Protocol Practice?

This repository is a practice session for the MIT Hack Decentralized AI summit. It includes basic steps to create a Claude MCP (Model Context Protocol) server up and running in under 5 minutes on Windows, with examples for a weather app and a SQLite bakery database.

How to use Claude MCP Protocol Practice?

For the weather server: navigate to the weather directory and run uv run weather.py. For the SQLite example: clone the MCP servers repository, build a Docker image, and update your claude_config.json with the appropriate command and arguments.

Key features of Claude MCP Protocol Practice

  • Weather app with alerts and forecast from a government API.
  • SQLite bakery database with low-stock alerts.
  • Set up a Claude MCP server in under 5 minutes.
  • Uses uv package manager for Python projects.
  • Docker container for the SQLite MCP server.
  • Configuration via the claude_config.json file.

Use cases of Claude MCP Protocol Practice

  • Practicing creation of MCP servers from scratch.
  • Querying weather alerts and forecasts through an LLM.
  • Managing bakery inventory with automated low-stock alerts.
  • Learning how to integrate a SQLite database with Claude Desktop.

FAQ from Claude MCP Protocol Practice

What prerequisite is needed?

Make sure you run pip install uv before starting the weather server.

How do I configure Claude for the weather server?

Navigate to File → Settings → Developer → Edit Config and provide the absolute path to your Python file in claude_config.json.

What commands run the weather server?

Change to the weather directory and execute uv run weather.py.

How do I set up the SQLite bakery database?

Clone the MCP servers repository, navigate to the sqlite directory, build the Docker image (docker build -t mcp/sqlite .), update Claude’s config with the Docker command, then create the ingredients table and populate it with 10 ingredients.

What tools does the weather server provide?

The server makes tools available to the LLM for getting alerts and forecasts from a government API.

Comments

More AI & Agents MCP servers