ai-mcp
Lightweight MCP server that exposes tools for system information and weather lookup, designed for agent integration via stdio.
README
ai-mcp
Lightweight MCP server for agent, register tools.
Overview
This project creates minimal MCP services that expose small tools (examples: system info, weather lookup) and run them via standard input/output. It is intended as a reference for wiring functions into MCP FastMCP instances.
Files
system_information_mcp.py— implement system information MCP and register toolget_system_info.weather_mcp.py— implement weather MCP and register tools to get weather info using the U.S. National Weather Service API.pyproject.toml— project metadata and dependencies..python-version— recommended Python version (3.12).
Requirements
- Python 3.12
- Recommended: use a virtual environment
Configuration agent
Configure MCP server in Cline
"system information mcp": {
"disabled": false,
"timeout": 60,
"type": "stdio",
"command": "uv",
"args": [
"--directory",
"D:/YJWANG/workspace/code/ai/ai-mcp",
"run",
"system_information_mcp.py"
]
},
"weather mcp": {
"disabled": false,
"timeout": 60,
"type": "stdio",
"command": "uv",
"args": [
"--directory",
"D:/YJWANG/workspace/code/ai/ai-mcp",
"run",
"weather_mcp.py"
]
}
You should change the path according to your envrionment.
Run
- System info MCP:
uv run system_information_mcp.py
- Weather MCP (weather_mcp.py):
uv run weather_mcp.py
Each script creates a FastMCP instance, registers one or more tools, and runs in stdio mode. Use your MCP-compatible client or protocol over stdio to call the registered tools.
Then, you can ask questions in agent, such as Cline
How about tomorrow weather in Regina, SK
What is your computer's OS?
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.