MCP Research Assistant
A custom MCP server that enables AI assistants to perform comprehensive research tasks, including searching ArXiv, summarizing papers via Groq, managing local research notes, and pushing findings to GitHub.
README
MCP Research Assistant
A custom Model Context Protocol (MCP) Server that enables AI assistants to perform comprehensive research tasks. This server provides seamless integration with ArXiv for paper discovery, Groq API for intelligent summarization, local file system for organization, and GitHub for collaboration.
Features
🔬 Research Capabilities
- ArXiv Integration: Search and fetch research papers from ArXiv
- Intelligent Summarization: Leverage Groq API for high-quality paper summaries
- Reference Management: Organize and track research references
- Citation Generation: Generate proper citations for papers
📁 File System Management
- Note Organization: Create and manage research notes
- Summary Storage: Save paper summaries in structured formats
- Reference Library: Build a local library of research materials
- Export Options: Export research data in various formats
🔗 GitHub Integration
- Repository Management: Push research notes and reports to GitHub
- Collaboration: Share research findings with team members
- Version Control: Track changes in research documentation
- Automated Commits: Automatic organization of research materials
🚀 MCP Tools
All capabilities are exposed as MCP tools for seamless AI integration:
search_arxiv: Search ArXiv for research papersfetch_paper: Download and parse paper contentsummarize_paper: Generate AI-powered summaries using Groqsave_notes: Save research notes locallycreate_summary: Create structured research summariesorganize_references: Manage reference collectionspush_to_github: Upload research materials to GitHubsearch_local_notes: Find existing research notesgenerate_citation: Create proper citationsexport_research: Export research in various formats
Installation
- Clone the repository:
git clone https://github.com/your-username/mcp-research-assistant.git
cd mcp-research-assistant
- Install dependencies:
pip install -e .
- Set up environment variables:
cp .env.example .env
# Edit .env with your API keys
Configuration
Create a .env file with the following variables:
# Groq API for summarization
GROQ_API_KEY=your_groq_api_key_here
# GitHub API for repository integration
GITHUB_TOKEN=your_github_token_here
GITHUB_USERNAME=your_github_username
GITHUB_REPO=your_research_repo_name
# Local paths
RESEARCH_DIR=./research_data
NOTES_DIR=./research_data/notes
SUMMARIES_DIR=./research_data/summaries
REFERENCES_DIR=./research_data/references
Usage
Running the MCP Server
Start the server:
python -m mcp_research_assistant.server
Or use the installed command:
mcp-research-assistant
MCP Client Configuration
Add to your MCP client configuration:
{
"mcpServers": {
"research-assistant": {
"command": "mcp-research-assistant",
"args": []
}
}
}
Example Workflows
-
Research a Topic:
- Search ArXiv for relevant papers
- Fetch interesting papers
- Generate summaries using Groq
- Save organized notes
- Push findings to GitHub
-
Literature Review:
- Search multiple topics
- Collect and summarize papers
- Organize references by theme
- Export comprehensive review
-
Collaborative Research:
- Share notes via GitHub
- Track research progress
- Maintain version history
API Reference
ArXiv Tools
search_arxiv(query, max_results): Search ArXiv databasefetch_paper(arxiv_id): Download paper contentget_paper_metadata(arxiv_id): Get paper information
Summarization Tools
summarize_paper(content, style): Groq-powered summarizationgenerate_key_points(content): Extract key insightscreate_abstract_summary(content): Generate abstracts
File System Tools
save_notes(title, content, tags): Save research notessearch_local_notes(query): Find existing notesorganize_files(structure): Organize research filesexport_research(format, filter): Export research data
GitHub Tools
push_to_github(files, commit_message): Upload to repositorycreate_research_branch(name): Create feature branchsync_research_repo(): Synchronize with remote
Development
Setup Development Environment
# Install development dependencies
pip install -e .[dev]
# Run tests
pytest
# Format code
black .
isort .
# Type checking
mypy src/
Project Structure
mcp-research-assistant/
├── src/mcp_research_assistant/
│ ├── __init__.py
│ ├── server.py # Main MCP server
│ ├── arxiv_client.py # ArXiv API integration
│ ├── groq_client.py # Groq API integration
│ ├── file_manager.py # Local file system management
│ ├── github_client.py # GitHub API integration
│ ├── research_tools.py # MCP tool implementations
│ └── utils.py # Utility functions
├── tests/
├── examples/
├── README.md
├── pyproject.toml
└── .env.example
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
License
MIT License - see LICENSE file for details.
Support
For issues and questions:
- Create an issue on GitHub
- Check the documentation
- Review example workflows
Built with ❤️ for the research community
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。