
MCP Multi-API Server
A bridge allowing AI/LLMs to seamlessly interact with external APIs for weather, finance, and news services through a standardized MCP-compliant interface.
README
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
📋 Prerequisites
- Node.js 18+
- npm or yarn
- API keys for:
🛠️ Installation
- Clone the repository:
git clone https://github.com/yourusername/mcp-multi-api-server.git
cd mcp-multi-api-server
- Install dependencies:
npm install
- Copy the environment template and add your API keys:
cp .env.example .env
- Edit
.env
and add your API keys:
OPENWEATHER_API_KEY=your_key_here
ALPHA_VANTAGE_API_KEY=your_key_here
NEWS_API_KEY=your_key_here
- Build the project:
npm run build
🚀 Usage
Starting the Server
npm start
For development with auto-reload:
npm run dev
🏗️ Architecture
src/
├── index.ts # Entry point & MCP server setup
├── api/ # API client implementations
├── tools/ # MCP tool definitions
├── utils/ # Utilities (cache, rate limiter, logger)
└── types/ # TypeScript type definitions
⚙️ Configuration
Environment Variables
Variable | Description | Default |
---|---|---|
OPENWEATHER_API_KEY |
OpenWeatherMap API key | Required |
ALPHA_VANTAGE_API_KEY |
Alpha Vantage API key | Required |
NEWS_API_KEY |
NewsAPI key | Required |
MCP_SERVER_PORT |
Server port | 3000 |
LOG_LEVEL |
Logging level | info |
CACHE_TTL_WEATHER |
Weather cache TTL (seconds) | 300 |
CACHE_TTL_FINANCE |
Finance cache TTL (seconds) | 60 |
CACHE_TTL_NEWS |
News cache TTL (seconds) | 600 |
RATE_LIMIT_REQUESTS |
Rate limit requests | 100 |
RATE_LIMIT_WINDOW |
Rate limit window (ms) | 60000 |
🧪 Testing
Run the test script:
npm test
Using MCP Inspector (Visual Testing)
# Install MCP Inspector globally
npm install -g @modelcontextprotocol/inspector
# Run the inspector
mcp-inspector node dist/index.js
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
# Start the server
node dist/index.js
# Run the test script
node dist/test-runner.js
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.