custom-mcp-server
Allows performing news searches using the Brave Search API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@custom-mcp-serverwhat's the weather in Paris?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🚀 Build Custom MCP Servers 📝☀️📰
📖 Project Description
This project demonstrates a simple MCP Servers built using the MCP mcp[cli] Python SDK. It provides several tools exposed through the MCP server:
Note Management: Add, read, retrieve the latest, and generate summaries of notes stored locally.
Weather Information: Fetch current weather data for a specified city using the WeatherAPI.com service.
News Search: Perform news searches using the Brave Search API.
It utilizes API keys stored in a .env file for external services.
Related MCP server: dev-notes
🛠️ Setup Instructions
Follow these steps to get the FastMCP agent running:
Prerequisites:
Python 3.12 installed.
A virtual environment manager (like
venv,pipenv,poetry, oruv) is recommended.
Clone the Repository (if you haven't already):
# Make sure you are in the correct parent directory git clone https://github.com/sourangshupal/Build-Custom-MCP-Servers # Or use the current directory if already cloned cd Build-Custom-MCP-ServersSet up Virtual Environment & Install Dependencies:
Install dependencies (assuming uv, based on uv.lock, otherwise adjust for pip/poetry):
uv sync uv lock source .venv/bin/activate # On Windows use `.venv\Scripts\activate`OR
pip install uv # if you don't have uv uv pip install -r requirements.txt # Or uv sync if using pyproject.toml directly # If not using uv, likely: pip install -r requirements.txt or poetry install or pip install .
Configure Environment Variables:
Copy the example environment file:
cp .env.example .envEdit the newly created
.envfile and add your API keys:WEATHER_API_KEY="YOUR_WEATHER_API_KEY" BRAVE_API_KEY="YOUR_BRAVE_API_KEY"
Run the Agent:
Execute the main script:
mcp install main.pyThe FastMCP server should be added to Claude Desktop.
mcp dev main.pyDebug the MCP Server
✨ Features
Note-taking capabilities (add, read, latest, summarize) 📝
Current weather fetching ☀️
Brave Search integration for news 📰
Configuration via
.envfile 🔑Built with
mcp[cli]⚙️
🤝 Contributing
Contributions are welcome! Please feel free to submit pull requests or open issues.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Cross-session, cross-device memory for your agent: remember and recall notes. No key to start.
Create, search and manage Knowtis collaborative notes from AI assistants.
Google Keep-style notes app with an MCP server for AI agents to read/write notes.
Create, search, and update notes in an xNotepad AI notebook, with semantic search and AI Q&A.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides real-time weather data from Open-Meteo API and enables creating and retrieving notes stored locally in JSON format.MIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude to save, list, and read notes in a '/dev-notes' directory, and fetch live weather for any city using the wttr.in API.
- AlicenseNot gradedqualityDmaintenanceEnables notes management, weather and news search, document ingestion and RAG-based semantic search using GroundX, with OpenAI GPT integration for summarization and completions.MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to search, read, create, update, and remove personal markdown notes stored locally, providing persistent memory across sessions.952MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/adeelahmed1293/custom-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server