Enables document search, content analysis, and smart organization across Dropbox files with automatic tagging and categorization.
Supports cross-platform social media publishing, content performance analysis with engagement metrics, audience insights, and AI-powered optimal posting time recommendations.
Enables smart email management including searching, analyzing, composing and sending emails, tracking communication patterns, analyzing response times and relationships, and automated inbox categorization.
Provides universal document search, content analysis and summarization, version tracking, and smart organization with automatic tagging across Google Drive files.
Enables multi-platform social media management with content performance tracking, engagement metrics analysis, audience insights, and optimal timing recommendations.
Provides universal document search, content analysis and summarization, version tracking, and smart organization with automatic tagging for local files.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Personal Knowledge Assistantanalyze my email patterns from last week and suggest optimal response times"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Personal Knowledge Assistant MCP Server
A comprehensive Model Context Protocol (MCP) server that transforms how you manage and analyze your personal information across email, social media, documents, and productivity metrics.
π Features
π§ Email Intelligence
Smart Email Management: Search, analyze, and compose emails with AI assistance
Communication Pattern Analysis: Understand your email habits, response times, and relationship dynamics
Thread Analysis: Track email conversations and extract actionable insights
Automated Categorization: Intelligent labeling and organization of your inbox
π Social Media Integration
Multi-Platform Support: Twitter, LinkedIn, Facebook, and Instagram
Content Performance Analysis: Track engagement metrics, reach, and audience insights
Optimal Timing: AI-powered recommendations for when to post
Cross-Platform Publishing: Post to multiple platforms simultaneously
π Document Management
Universal Search: Find documents across Google Drive, Dropbox, and local files
Content Analysis: Extract key insights and summaries from documents
Version Tracking: Monitor document changes and collaboration patterns
Smart Organization: Automatic tagging and categorization
π Personal Analytics
Productivity Metrics: Track work patterns, focus time, and task completion
Habit Monitoring: Build and maintain positive habits with data-driven insights
Goal Progress: Monitor and analyze progress toward personal and professional goals
Health & Wellness: Integrate mood, energy, and wellness tracking
π§ AI-Powered Insights
Behavioral Pattern Detection: Identify trends in your communication and work habits
Predictive Analytics: Anticipate busy periods and optimize your schedule
Relationship Mapping: Visualize your professional and personal networks
Automated Reports: Daily, weekly, and monthly insight summaries
π Privacy & Security
End-to-End Encryption: All data encrypted at rest and in transit
Local Processing: Sensitive analysis performed locally when possible
GDPR Compliant: Full data export and deletion capabilities
Audit Logging: Complete audit trail of all data access and processing
π― Quick Start
Prerequisites
Python 3.9 or higher
Claude Desktop app or compatible MCP client
API credentials for services you want to integrate
Installation
Clone the repository
git clone https://github.com/vitalune/IPA-mcp.git
cd IPA-mcpInstall dependencies
pip install -r requirements.txtConfigure API credentials
cp config/config.example.yaml config/config.yaml
# Edit config/config.yaml with your API credentialsInitialize the server
python -m src.mainConnect to Claude Desktop
Add this configuration to your Claude Desktop MCP settings:
{
"mcpServers": {
"personal-knowledge-assistant": {
"command": "python",
"args": ["-m", "src.main"],
"cwd": "/path/to/IPA-mcp"
}
}
}π οΈ Available Tools
The server provides 7 powerful MCP tools:
Tool | Description | Key Features |
| Compose and send emails with AI assistance | Smart composition, attachment support, multiple recipients |
| Analyze communication patterns and relationships | Response times, frequency analysis, sentiment tracking |
| Create and schedule social media posts | Multi-platform, optimal timing, hashtag suggestions |
| Track social media performance and insights | Engagement metrics, audience analysis, trend identification |
| Organize projects, tasks, and deadlines | Intelligent prioritization, timeline tracking, team collaboration |
| Monitor productivity, habits, and goals | Custom metrics, trend analysis, achievement tracking |
| Create comprehensive analytics reports | Multi-source data, actionable recommendations, export options |
π Documentation
Installation Guide - Detailed setup instructions
API Setup Guide - Configure Gmail, Twitter, LinkedIn, and more
User Guide - How to use all features effectively
Configuration Reference - Complete configuration options
Security Overview - Privacy and security features
Troubleshooting - Common issues and solutions
API Reference - Developer documentation
π§ Configuration
Basic Configuration
# config/config.yaml
app:
name: "Personal Knowledge Assistant"
environment: "development"
security:
encryption_enabled: true
session_timeout_minutes: 60
require_mfa: false
privacy:
anonymize_logs: true
data_retention_days: 90
enable_analytics: false
integrations:
gmail:
enabled: true
scopes: ["gmail.readonly", "gmail.send"]
twitter:
enabled: true
scopes: ["tweet.read", "tweet.write"]
linkedin:
enabled: true
scopes: ["r_liteprofile", "w_member_social"]API Credentials
Set up your API credentials by following our detailed API Setup Guide:
Gmail/Google Drive: Google Cloud Console OAuth 2.0
Twitter: Twitter Developer Portal API keys
LinkedIn: LinkedIn Developer Program credentials
Other Services: Platform-specific setup instructions
π§ͺ Testing
Run the comprehensive test suite:
# Install test dependencies
pip install -r tests/requirements.txt
# Run all tests
pytest tests/
# Run specific test categories
pytest tests/unit/ # Unit tests
pytest tests/integration/ # Integration tests
pytest tests/security/ # Security tests
pytest tests/mcp/ # MCP protocol compliance
# Generate coverage report
pytest --cov=src tests/π Example Usage
Analyze Your Email Patterns
# Ask Claude: "Analyze my email communication patterns for the last month"
# The MCP server will:
# 1. Fetch emails from the specified timeframe
# 2. Analyze response times, frequency, and relationships
# 3. Generate insights about your communication habits
# 4. Provide actionable recommendationsCross-Platform Social Media Management
# Ask Claude: "Post about our product launch to Twitter and LinkedIn, optimized for engagement"
# The MCP server will:
# 1. Analyze your audience and engagement patterns
# 2. Suggest optimal posting times
# 3. Craft platform-appropriate content
# 4. Schedule posts across multiple platformsComprehensive Productivity Analysis
# Ask Claude: "Generate a weekly productivity report with insights and recommendations"
# The MCP server will:
# 1. Aggregate data from emails, calendar, and personal metrics
# 2. Identify productivity patterns and bottlenecks
# 3. Compare with previous periods
# 4. Provide personalized improvement suggestionsποΈ Architecture
The Personal Knowledge Assistant is built with a modular, secure architecture:
βββ src/
β βββ main.py # MCP server entry point
β βββ tools/ # MCP tool implementations
β βββ integrations/ # API client implementations
β βββ utils/ # Analytics, NLP, and utilities
β βββ models/ # Data models and schemas
β βββ config/ # Configuration and authentication
βββ tests/ # Comprehensive test suite
βββ docs/ # Documentation
βββ config/ # Configuration templatesKey Components
MCP Protocol Layer: Standards-compliant MCP server implementation
API Integration Layer: Secure, rate-limited connections to external services
Analytics Engine: Advanced data processing and insight generation
Security Layer: Encryption, authentication, and privacy controls
Storage Layer: Secure local data storage with optional cloud sync
π€ Contributing
We welcome contributions! Please see our Contributing Guide for details.
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature)Make your changes with tests
Run the test suite (
pytest tests/)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
π License
This project is licensed under the MIT License - see the LICENSE file for details.
β οΈ Security & Privacy
Your privacy is our priority:
Local-First: Sensitive processing happens on your machine
Encrypted Storage: All data encrypted using industry-standard algorithms
Minimal Data Collection: We only collect what's necessary for functionality
Transparent Logging: Complete audit trail of all data access
User Control: Full data export and deletion capabilities
For more details, see our Security Documentation.
π Support
Documentation: Check our comprehensive docs
Issues: GitHub Issues
Discussions: GitHub Discussions
Security: For security issues, email amirvalizadeh161@gmail.com
Transform your personal knowledge management with AI-powered insights