
marlonluo2018/pandas-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
marlonluo2018/pandas-mcp-server - кандидат на сервер MCP, импортированный из https://github.com/marlonluo2018/pandas-mcp-server.
Обзор
marlonluo2018/pandas-mcp-server - кандидат на сервер MCP, импортированный из https://github.com/marlonluo2018/pandas-mcp-server.
Обзор (машинный перевод)
Мощный инструмент для анализа данных на основе ИИ - через протокол MCP позволяет LLM безопасно и эффективно выполнять код панды и генерировать визуализации
Если вы считаете этот проект полезным, пожалуйста, подумайте о том, чтобы дать ему звезду!
Комплексный сервер Model Context Protocol (MCP), который позволяет LLM выполнять код панд через стандартизированный рабочий процесс для анализа и визуализации данных.
Ключевые особенности
Secure Execution Environment - выполнение кода в песочнице предотвращает вредоносные операции и защищает безопасность системы Интеллектуальный анализ данных - автоматически извлекает метаданные файла, понимает структуру данных и предоставляет интеллектуальные аналитические предложения ** Интерактивная визуализация** - генерация интерактивных диаграмм одним щелчком мыши с регулировкой параметров в реальном времени Оптимизация памяти - Интеллектуальное управление памятью поддерживает обработку больших файлов с автоматической оптимизацией типа данных Легкая интеграция - простая конфигурация для бесшовной интеграции с помощниками ИИ, такими как Claude Desktop ** Поддержка CLI** - обеспечивает интерфейс командной строки для удобного тестирования и разработки
Обзор MCP-сервера
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Pandas-MCP Server
A comprehensive Model Context Protocol (MCP) server that enables LLMs to execute pandas code through a standardized workflow for data analysis and visualization.
✨ Key Features
- 🔒 Secure Execution Environment - Sandboxed code execution prevents malicious operations and protects system security
- 📊 Intelligent Data Analysis - Automatically extracts file metadata, understands data structure, and provides intelligent analysis suggestions
- 🎨 Interactive Visualizations - One-click generation of various interactive charts with real-time parameter adjustment
- 🧠 Memory Optimization - Intelligent memory management supports large file processing with automatic data type optimization
- 🔧 Easy Integration - Simple configuration for seamless integration with AI assistants like Claude Desktop
- 📝 CLI Support - Provides command-line interface for convenient testing and development
🎯 MCP Server Overview
The Pandas-MCP Server is designed as a Model Context Protocol (MCP) server that provides LLMs with powerful data processing capabilities. MCP is a standardized protocol that allows AI models to interact with external tools and services in a secure, structured way.
🛠️ Installation
Prerequisites
- Python 3.10+
- pip package manager
- Git (for cloning the repository)
Step 1: Clone the Repository
git clone https://github.com/marlonluo2018/pandas-mcp-server.git
cd pandas-mcp-server
Step 2: Install Dependencies
pip install -r requirements.txt
Step 3: Configure Environment Variables (Optional)
The server supports extensive configuration through environment variables. Copy the example configuration file:
cp .env.example .env
Edit the .env file to customize settings such as:
- Log levels and file locations
- File size limits
- Feature flags (enable/disable chart generation, code execution)
- Memory monitoring settings
- Security blacklist extensions
Установка
uvx --from /path/to/pandas-mcp-server pandas-mcp-serverКонфигурация
{
"mcpServers": {
"pandas-server": {
"type": "stdio",
"command": "uvx",
"args": ["--from", "/path/to/pandas-mcp-server", "pandas-mcp-server"]
}
}
}