benstrugo15/first_mcp_server
3.1
If you are the rightful owner of first_mcp_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The MCP Claude Server is a production-level implementation of an MCP-based AI server using Claude (Anthropic API) and a set of tools to provide various functionalities.
Tools
7
Resources
0
Prompts
0
MCP Claude Server
A production-level implementation of an MCP-based AI server using Claude (Anthropic API) and 7 tools. The model chooses which tools to invoke and returns a final summary via email.
🚀 Features
- Fully async FastAPI backend
- Claude MCP integration with tool-use loop
- 7 tools: weather, news, exchange rate, joke, stock, quote, send_email
- Dockerized and clean architecture
🧠 Toolset
- get_weather: City-based weather summary
- get_news: Latest headlines per country
- get_exchange_rate: Currency conversion
- get_joke: Random joke
- get_stock_price: Current stock price
- get_quote: Inspirational quote
- send_email: Deliver message summary via email
⚙️ Setup
git clone <your-repo>
cd mcp_server
cp .env.example .env
docker build -t mcp-server .
docker run -p 8080:8080 --env-file .env mcp-server
📩 API
POST /mcp
{
"message": "תביא לי את התחזית בתל אביב ותשלח לי למייל ben@example.com"
}
✅ Requirements
fastapi
uvicorn
anthropic
httpx
python-dotenv
📁 Structure
.
├── main.py
├── Dockerfile
├── .env.example
├── requirements.txt
├── src/
│ └── agents/
│ ├── mcp_handler.py
│ ├── tools.py
│ └── tool_logic.py
🧑💻 Author
Crafted by a backend professional in collaboration with Claude. ❤️