Generates interactive data visualizations from analyzed datasets, which are included in the HTML reports
Uses .ENV files for configuration and secure storage of API keys and credentials
Supports installation and setup through Git repository cloning
Supports automated email delivery of analysis results and research papers through Gmail using app passwords for authentication
Leverages Google's Gemini Flash 2 AI model for data analysis, content generation, and AI-powered insights from datasets
Runs on Node.js platform, requiring v16 or higher for server operation
Uses npm for package management, installation and running build scripts
Supports development mode with ts-node for running TypeScript code directly
Built with TypeScript for type-safe development and compilation
Gemini Data Analysis & Research MCP Server
A powerful Model Context Protocol (MCP) server that leverages Google's Gemini Flash 2 AI model for comprehensive data analysis, research paper generation, and automated email delivery. This server provides an integrated solution for analyzing datasets, generating research content, and distributing results directly to stakeholders via email.
🚀 Features
1. Advanced Data Analysis & Reporting (analyze-data
)
Comprehensive analysis of Excel (.xlsx, .xls) and CSV files
Features:
Automatic data type detection and parsing
Statistical analysis of numeric columns
Interactive visualizations using Chart.js
AI-powered insights using Gemini Flash 2
Detailed HTML reports with interactive plots
Direct email delivery of analysis results
Basic and detailed analysis modes
Customizable output directory
Support for large datasets
Automatic outlier detection
Correlation analysis for numeric columns
2. Research & Email Delivery System (send-email
)
Professional research paper generation and distribution
Features:
AI-powered research paper generation
Automated email delivery of analysis results
Support for multiple content types:
Research papers
Technical reports
Data analysis summaries
Business intelligence reports
Professional email subject line generation
Support for both HTML and plain text content
Image attachments with inline display capability
Secure SMTP authentication
Comprehensive error handling and status reporting
Professional email formatting
Message delivery tracking
Customizable email templates
3. Research & Analysis Generator (generate-thinking
)
Advanced research and analysis generation
Features:
Research paper generation
Technical documentation writing
Data analysis summaries
Business intelligence reports
Timestamped response saving
Customizable output directory
Direct email delivery of generated content
Professional content creation
📊 Quick Start
Prerequisites
Node.js (v16 or higher)
TypeScript
Claude Desktop
Google Gemini API Key
SMTP Email Account (for email functionality)
Installation
Clone and setup:
Create
.env
file:
Build the project:
Claude Desktop Configuration
Create/Edit
%AppData%/Claude/claude_desktop_config.json
:
Restart Claude Desktop
📊 Using the Tools
Data Analysis with EDA and AI
Email Sending with AI Subject Generation
Thinking Generation
📁 Output Structure
🛠️ Development
Available Scripts
npm run build
: Compile TypeScript to JavaScriptnpm run start
: Start the MCP servernpm run dev
: Run in development mode with ts-node
Environment Variables
GEMINI_API_KEY
: Your Google Gemini API keyNODEMAILER_EMAIL
: Your email address for sending emailsNODEMAILER_PASSWORD
: Your email app password (for Gmail, use an app password)
🔒 Security Notes
Store your API keys securely
Don't share your
.env
fileFor Gmail, use app passwords instead of your main account password
Be careful with the content of emails sent through the system
Never include sensitive or personal information in email examples
🐛 Troubleshooting
Common Issues
API Key Error
Verify
.env
file existsCheck API key validity
Ensure proper environment loading
Claude Desktop Connection
Verify config.json syntax
Check file paths in config
Restart Claude Desktop
Email Sending Issues
Check that NODEMAILER_EMAIL and NODEMAILER_PASSWORD are set correctly
For Gmail, ensure you've created an app password
Verify that less secure app access is enabled for non-Gmail providers
Check recipient email address format
Data Analysis Issues
Ensure file format is supported (.xlsx, .xls, .csv)
Check file encoding (UTF-8 recommended)
Verify file size is within limits
Ensure numeric columns are properly formatted
Debug Mode
Add DEBUG=true
to your .env
file for verbose logging:
📚 API Reference
Data Analysis Tool
Email Sending Tool
Thinking Generation Tool
👨💻 Author
Falah G. Salieh
📍 Baghdad, Iraq
📅 2025
🤝 Contributing
Fork the repository
Create your feature branch
Commit your changes
Push to the branch
Create a Pull Request
📄 License
MIT License - See LICENSE file for details
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A Model Context Protocol server leveraging Google's Gemini Flash 2 to analyze datasets, generate research papers, and deliver results via email.
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol (MCP) server implementation for the Google Gemini language model. This server allows Claude Desktop users to access the powerful reasoning capabilities of Gemini-2.0-flash-thinking-exp-01-21 model.Last updated -1MIT License
- -securityFlicense-qualityA Model Context Protocol server that connects AI clients to local code repositories, using Gemini 2.0 Flash to analyze codebases and generate targeted context based on user queries.Last updated -10
- AsecurityAlicenseAqualityA TypeScript implementation of a Model Context Protocol server that integrates with Google's Gemini 2.0 Flash model, enabling Claude Desktop users to interact with Gemini through natural language conversations.Last updated -1223MIT License
- -securityFlicense-qualityA Model Context Protocol server that gives Claude access to Google's Gemini 2.5 Pro for extended thinking, code analysis, and problem-solving with a massive context window.Last updated -7,222