Used for configuration management, allowing the server to load API keys and other environment variables from a .env file
Version control system used for cloning the repository
Platform hosting the repository that needs to be cloned during installation
Required runtime environment for the MCP server, version 18+ needed to run the application
Package manager used for installing dependencies and running scripts for the MCP server
Programming language used for implementing the server with type safety
Alternative package manager that can be used instead of npm for dependency management
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., "@MCP Multi-API Serverget weather in Tokyo and stock price for Tesla"
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.
MCP Multi-API Server π
A Model Context Protocol (MCP) server that bridges AI/LLMs with multiple real-world APIs including weather, finance, and news services. This server acts as a standardized interface, allowing any MCP-compatible AI application to seamlessly interact with external APIs without custom integration work.
π Features
Multi-API Support: Weather (OpenWeatherMap), Finance (Alpha Vantage), News (NewsAPI)
MCP Protocol Compliant: Full implementation of Anthropic's MCP standard
Intelligent Caching: Configurable TTL-based caching to reduce API calls
Rate Limiting: Built-in rate limiting to respect API quotas
Comprehensive Logging: Winston-based logging with multiple transports
Error Handling: Robust error handling with meaningful error messages
TypeScript: Fully typed for better developer experience
Related MCP server: MCP-Weather Server
π Prerequisites
Node.js 18+
npm or yarn
API keys for:
π οΈ Installation
Clone the repository:
Install dependencies:
Copy the environment template and add your API keys:
Edit
.envand add your API keys:
Build the project:
π Usage
Starting the Server
For development with auto-reload:
ποΈ Architecture
βοΈ Configuration
Environment Variables
Variable | Description | Default |
| OpenWeatherMap API key | Required |
| Alpha Vantage API key | Required |
| NewsAPI key | Required |
| Server port | 3000 |
| Logging level | info |
| Weather cache TTL (seconds) | 300 |
| Finance cache TTL (seconds) | 60 |
| News cache TTL (seconds) | 600 |
| Rate limit requests | 100 |
| Rate limit window (ms) | 60000 |
π§ͺ Testing
Run the test script:
Using MCP Inspector (Visual Testing)
This opens a web interface at http://localhost:5173 where you can:
See all available tools
Test tool calls interactively
View request/response logs
Manual STDIO Testing
Run: