
财务 - 港口代理
Supabase集成的投资组合分析和管理的MCP代理
1
Github Watches
0
Github Forks
0
Github Stars
MCP Finance Agent
Model Context Protocol агент для анализа финансового портфеля и генерации рекомендаций.
Возможности
- Интеграция с Tinkoff Invest API
- Анализ портфеля и рисков
- Генерация рекомендаций по оптимизации портфеля
- Мониторинг рыночных данных
- Расчет метрик эффективности
Установка
- Убедитесь, что у вас установлен Python 3.11+
- Установите Poetry:
curl -sSL https://install.python-poetry.org | python3 -
- Клонируйте репозиторий:
git clone <repository-url>
cd mcp-finance-agent
- Установите зависимости:
poetry install
- Создайте файл .env на основе .env.example:
cp .env.example .env
- Настройте переменные окружения в .env
Разработка
- Активируйте виртуальное окружение:
poetry shell
- Установите pre-commit хуки:
pre-commit install
- Запустите тесты:
pytest
Использование
- Запустите агента:
poetry run python -m src.main
- API будет доступно по адресу: http://localhost:8000
Тестирование
# Запуск всех тестов с отчетом о покрытии
pytest
# Запуск конкретного теста
pytest tests/test_specific.py
# Запуск тестов с метками
pytest -m "not integration"
Структура проекта
mcp_finance_agent/
├── src/
│ ├── agent/ # Ядро MCP агента
│ ├── services/ # Внешние сервисы
│ └── models/ # Модели данных
├── tests/ # Тесты
└── docs/ # Документация
Лицензия
MIT
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Take an adjectivised noun, and create images making it progressively more adjective!
Reviews

user_PZZeUXX3
I've been using the Finance-Portfolio-Agent by dre1144, and it has significantly streamlined my financial tracking and management. The tool is intuitive, user-friendly, and robust, providing all necessary functionalities to keep my portfolio in check. Highly recommend to anyone looking to get a better handle on their finances! Check it out at https://github.com/dre1144/finance-portfolio-agent.