by adityak74
mcp-scholarly is a MCP server designed to facilitate the search for accurate academic articles, initially supporting arXiv and with plans to integrate more scholarly vendors.
mcp-scholarly is a server built on the Model Context Protocol (MCP) that enables users to search for scholarly and academic articles. It currently integrates with arXiv and aims to expand its search capabilities to include other academic databases in the future.
mcp-scholarly can be installed and configured for use with Claude Desktop or via Docker. It can also be installed automatically using Smithery.
mcpServers
in claude_desktop_config.json
with the appropriate command and arguments for development, published servers, or Docker.npx -y @smithery/cli install mcp-scholarly --client claude
to install automatically.The server implements a search-arxiv
tool that takes a "keyword" as a required string argument to search for articles.
Q: What is MCP? A: MCP stands for Model Context Protocol, which is a protocol that allows models to interact with external tools and services.
Q: Which academic databases are currently supported? A: Currently, mcp-scholarly supports searching articles on arXiv. More vendors are planned for future integration.
Q: How can I debug the mcp-scholarly server?
A: You can use the MCP Inspector for debugging. Launch it via npm
with a specific command that points to your mcp-scholarly directory, and then access the provided URL in your browser.
A MCP server to search for accurate academic articles. More scholarly vendors will be added soon.
The server implements one tool:
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
or if you are using Docker
To install mcp-scholarly for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install mcp-scholarly --client claude
To prepare the package for distribution:
uv sync
uv build
This will create source and wheel distributions in the dist/
directory.
uv publish
Note: You'll need to set PyPI credentials via environment variables or command flags:
--token
or UV_PUBLISH_TOKEN
--username
/UV_PUBLISH_USERNAME
and --password
/UV_PUBLISH_PASSWORD
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm
with this command:
npx @modelcontextprotocol/inspector uv --directory /Users/adityakarnam/PycharmProjects/mcp-scholarly/mcp-scholarly run mcp-scholarly
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
Reviews feature coming soon
Stay tuned for community discussions and feedback