Prerequisites
Before installing FinMCP, ensure you have:- Node.js (v18 or higher recommended)
- Python 3.10+ installed and available in your PATH
- npm or npx for package management
FinMCP requires Python because it uses the
yfinance library to fetch financial data. The Node.js component serves as the MCP server wrapper.Installation Steps
Install FinMCP via npm
You can install FinMCP globally or run it on-demand with npx:
Using
npx -y finmcp is recommended as it always runs the latest version without requiring a global installation.Platform-Specific Notes
Windows
Windows
On Windows, FinMCP uses the
python command instead of python3. Ensure Python is added to your PATH during installation.macOS/Linux
macOS/Linux
On macOS and Linux, FinMCP uses
python3. Most systems have Python 3 pre-installed, but you may need to install pip:Troubleshooting
Common Issues
“python3: command not found”- Install Python 3.10+ for your platform
- On Windows, use
pythoninstead ofpython3
- Run
pip install yfinanceorpip3 install yfinance - Ensure you’re using the correct pip associated with your Python 3 installation
- Use
sudoon macOS/Linux:sudo npm install -g finmcp - Or use npx to avoid global installation:
npx -y finmcp
Next Steps
Now that FinMCP is installed, proceed to the Quick Start guide to add it to your AI assistant:Quick Start
Configure FinMCP with Claude or OpenCode and run your first query