mcpiol
MCP for the IOL public API
Documentation
IOL MCP Tool
A Model Context Protocol (MCP) tool for interacting with Invertir Online (IOL) API through Claude Desktop.
Prerequisites
- Claude Desktop App for Mac
- Python 3.8+
- IOL trading account
- Environment variables setup with your IOL credentials
Installation
1. Clone this repository:
git clone https://github.com/fernandezpablo85/mcpiol.git
cd mcpiol2. Install uv if you haven't already:
curl -LsSf https://astral.sh/uv/install.sh | sh3. Install dependencies:
uv sync4. Create a `.env` file in the project root with your IOL credentials:
IOL_USER=your_username
IOL_PASS=your_passwordConfigure Claude Desktop
1. Open Claude Desktop configuration directory:
open ~/Library/Application\ Support/Claude2. Create or edit `claude_desktop_config.json`:
touch ~/Library/Application\ Support/Claude/claude_desktop_config.json3. Add the following configuration:
{
"mcpServers": {
"iol": {
"command": "/Users/YOUR_USERNAME/.local/bin/uv",
"args": [
"--directory",
"/Users/YOUR_USERNAME/projects/playground/mcpiol",
"run",
"main.py"
]
}
}
}Important notes:
- Replace `YOUR_USERNAME` with your actual username
- Both the `command` and `--directory` paths must be absolute paths
- You can find your uv installation path by running `which uv` in the terminal
Running Tests
To run the test suite:
pytest tests/test_client.py -vFor coverage report:
pytest tests/test_client.py --cov=client -vTroubleshooting
1. If tools don't appear in Claude Desktop:
2. If authentication fails:
License
MIT
Contributing
Feel free to open issues or submit pull requests.
Frequently asked questions
What is mcpiol?
mcpiol is MCP for the IOL public API
How do I install mcpiol?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcpiol open source?
Yes — it is hosted on GitHub at https://github.com/fernandezpablo85/mcpiol and has 2 stars.
Related MCP tools
Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory across sessions with a self-hosted knowledge graph engine.
Automate browser based workflows with AI
Hindsight: Agent Memory That Learns
A privacy-first app that strips AI watermarks from content you own.
Agent framework and applications built upon Qwen>=3.0, featuring Function Calling, MCP, Code Interpreter, RAG, Chrome extension, etc.
The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP