MCP-FinTechCo Server
A production-ready Modular Command Processor (MCP) server built with FastMCP 2.0, designed for financial technology applications and data services.
Overview
MCP-FinTechCo is a scalable MCP server initially focused on providing weather data services, with plans for rapid expansion into additional financial technology tools. Built on FastMCP 2.0, it provides a robust foundation for creating and deploying AI-accessible tools and services.
Key Features
FastMCP 2.0 Framework: Modern, production-ready MCP implementation
Weather Data Tool: Real-time weather information using Open-Meteo API
Cloud-Ready: Designed for deployment on Google Cloud Platform
Extensible Architecture: Easy to add new tools and capabilities
Comprehensive Logging: Built-in logging for monitoring and debugging
Environment-Based Configuration: Flexible configuration via environment variables
Initial Tools
get_city_weather
Retrieves current weather information for any city worldwide.
Parameters:
city(string): Name of the city (e.g., "New York", "London", "Tokyo")
Returns:
Installation
Prerequisites
Python 3.11 or higher
pip (Python package manager)
Git
Local Setup
Clone the repository:
Create and activate a virtual environment:
Windows:
Linux/Mac:
Install dependencies:
Configure environment variables:
Edit .env with your preferred settings (defaults work for local testing).
Run the server:
Usage
Running the Server
Local Development:
With Custom Environment:
Testing the Server
Use the included test client:
This will run a series of tests to validate the server's functionality.
Project Structure
Configuration
The server uses environment variables for configuration. See .env.sample for all available options.
Key Environment Variables
Variable | Description | Default |
| Server name | mcp-fintechco-server |
| Server version | 1.0.0 |
| Server port | 8000 |
| Logging level | INFO |
| Environment name | development |
Development
Adding New Tools
Create a new async function decorated with
@mcp.tool()Add comprehensive docstring with parameters and return values
Implement error handling and logging
Update this README with tool documentation
Add tests in
test_client.py
Example:
Testing
Run the test client to validate all tools:
For specific tool testing, modify test_client.py as needed.
Deployment
See DEPLOYMENT.md for detailed instructions on deploying to Google Cloud Platform.
Quick Deployment
This script automates the deployment process to GCP.
API Documentation
Weather Codes
The server uses WMO (World Meteorological Organization) weather codes:
Code | Condition |
0 | Clear sky |
1-3 | Mainly clear to overcast |
45-48 | Fog |
51-55 | Drizzle |
61-65 | Rain |
71-77 | Snow |
80-82 | Rain showers |
85-86 | Snow showers |
95-99 | Thunderstorm |
Troubleshooting
Common Issues
Server won't start:
Verify Python version:
python --version(should be 3.11+)Check dependencies:
pip install -r requirements.txtVerify .env configuration
City not found:
Check spelling and try different formats
Try including country name: "Paris, France"
Use official city names
API errors:
Check internet connection
Verify no firewall blocking Open-Meteo API
Check server logs for detailed error messages
Contributing
Contributions are welcome! Please:
Fork the repository
Create a feature branch
Make your changes with tests
Submit a pull request
Resources
License
This project is licensed under the MIT License. See LICENSE file for details.
Support
For issues, questions, or contributions:
Open an issue on GitHub
Check existing documentation
Review FastMCP documentation
Roadmap
Upcoming Features
Additional weather tools (forecasts, historical data)
Financial market data integration
Stock price lookup tools
Currency conversion tools
Economic indicator tools
News and sentiment analysis
Custom alerts and notifications
Acknowledgments
Built with FastMCP 2.0
Weather data from Open-Meteo
Deployed on Google Cloud Platform
Version: 1.0.0 Last Updated: 2025-11-02
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Provides real-time weather data for cities worldwide using the Open-Meteo API, with planned expansion into financial technology tools including market data, stock prices, and economic indicators.