Build-Custom-MCP-Servers

Build-Custom-MCP-Servers

3.5

This project demonstrates a simple MCP Server built using the MCP `mcp[cli]` Python SDK, providing tools for note management, weather information, and news search.

The Build Custom MCP Servers project is designed to showcase the capabilities of the MCP mcp[cli] Python SDK by implementing a server that offers several useful tools. These tools include note management, which allows users to add, read, retrieve the latest, and generate summaries of notes stored locally. Additionally, the server can fetch current weather data for a specified city using the WeatherAPI.com service, and perform news searches using the Brave Search API. The project requires API keys for external services, which are stored in a .env file. The setup process involves installing Python 3.12, setting up a virtual environment, and configuring environment variables. Once set up, the server can be run and debugged using the MCP command line interface.

Features

  • Note-taking capabilities (add, read, latest, summarize) 📝
  • Current weather fetching ☀️
  • Brave Search integration for news 📰
  • Configuration via .env file 🔑
  • Built with mcp[cli] ⚙️

Usage with Different Platforms

mcp

bash
mcp install main.py
mcp dev main.py