About MCP
A Python project demonstrating personal MCP servers and clients for LLM workflows. It includes a US weather service example and an SSE server/client demo.
Key features
- 01US weather data server
- 02SSE server demo
- 03SSE client demo
- 04Server inspection with MCP Inspector
Use cases
- 01Query US weather data through an MCP host
- 02Run and test an MCP server over SSE
MCP support
Provides MCP server examples for US weather and SSE, plus clients that connect to them. The README also shows configuring a host and inspecting a server.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP
Personal MCP Servers and Clients for LLM
Setup
- init the project with
uv
uv init --python=3.10 .
touch .gitignore .env
cat << EOF >> .gitignore
.env
.venv/
__pycache__/
EOF
- init python virtual environment
uv venv
source .venv/bin/activate
- install dependencies
uv add dashscope httpx mcp python-dotenv langchain langchain-core langchain-mcp-adapters langchain-community langgraph
- new a uv workspace as follows:
mkdir servers/sse_mcp
cd servers/sse_mcp
uv init --python=3.10 .
MCP Server
MCP Server Weather
This is the MCP server for the Weather service to get US weather data.
Project
# Create a new directory for our project
mkdir -p servers/weather-server-mcp
# Create virtual environment and activate it
uv venv
source .venv/bin/activate
# Create our server file
cd servers/weather-server-mcp
touch weather.py
MCP SSE Server
This is demo for running MCP server with SSE.
uv run sse --port 8000
Run
- Copy the server configuration file from the MCP Host, e.g. OpenCat

- Select the tool of this MCP server(weather)
- Chat in the Host, e.g. OpenCat

MCP Client
MCP Client for Weather Server
This is the MCP client for the Weather service to get US weather data.
Project
# Create project directory
mkdir -p clients/mcp-client
# Create virtual environment
uv venv
# Activate virtual environment
source .venv/bin/activate
# Create our main file
cd clients/mcp-client
touch clients/mcp-client/client.py
MCP SSE Client
This is demo for running MCP server with SSE.
# make sure the server is running, `uv run sse --port 8000`
uv run sse-client
Run
# to run the client which is connected to the weather mcp server
uv run ./clients/mcp-client/client.py ./servers/weather-server-mcp/weather.py

Inspect MCP Server
npx @modelcontextprotocol/inspector \
uv \
--directory servers/weather-server-mcp \
run \
weather.py

Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.