Skip to content

Instantly share code, notes, and snippets.

View salveszz's full-sized avatar

Salves salveszz

View GitHub Profile
@salveszz
salveszz / mcp_server.py
Created February 22, 2026 17:53
FinanceHub MCP Server — Connect AI agents (Claude, Cursor, Windsurf) to real-time financial data (crypto, stocks, forex). 14 tools via Model Context Protocol. Get your API key at https://rapidapi.com/salveszz/api/financehub-api
#!/usr/bin/env python3
"""
FinanceHub MCP Server — Model Context Protocol interface for AI agents.
Exposes all 14 FinanceHub API endpoints as MCP tools that Claude, Cursor,
Windsurf, and other MCP-compatible AI agents can call directly.
Usage:
pip install fastmcp httpx
python mcp_server.py # stdio (default)