A Model Context Protocol (MCP) server to search for accurate academic articles from arXiv and Google Scholar.
Note: This project is forked and modified from adityak74/mcp-scholarly
- Search academic articles on arXiv
- Search academic articles on Google Scholar
- MCP-compliant server for integration with AI assistants
- Python >= 3.11
- Dependencies listed in
pyproject.toml
- Clone the repository:
git clone https://github.com/LLiuZheng/scholarly.git
cd scholarly- Install
uvif you haven't already:
pip install uvRun the server with default settings (port 5000):
uv run mcp-scholarlyYou can customize the server with various options:
# Run on a custom port
uv run mcp-scholarly --port 8080
# Set logging level
uv run mcp-scholarly --log-level DEBUG
# Enable JSON responses instead of SSE streams
uv run mcp-scholarly --json-responseAlternatively, run as a Python module:
uv run python -m mcp_scholarlyYou can set the default port using an environment variable:
# Set in .env file
SCHOLARLY_MCP_SERVER_PORT=5000--port: Port to listen on for HTTP (default: 5000)--log-level: Logging level - DEBUG, INFO, WARNING, ERROR, CRITICAL (default: INFO)--json-response: Enable JSON responses for StreamableHTTP instead of SSE streams
See LICENSE file for details.