mcpField
M
mcp-scholarly MCP server

mcp-scholarly MCP server

Local
github.com/adityak74Search185Updated 9w ago

About mcp-scholarly MCP server

mcp-scholarly is an MCP server for searching academic articles. It currently covers arXiv, Google Scholar and optional Google web search, with more scholarly sources planned. It suits users and agents who need to find related literature.

Key features

  1. 01arXiv search with no API key needed
  2. 02Google Scholar search via scholarly library
  3. 03Optional Google web search requiring an API key
  4. 04Empty keywords return an MCP tool error

Use cases

  1. 01Finding academic papers on a given keyword
  2. 02Giving an agent literature search capability

MCP support

As an MCP server, it exposes search tools such as search-arxiv to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"scholarly": {
"command": "npx",
"args": [
"-y",
"@smithery/cli"
]
}
}
}
Run commandnpx -y @smithery/cli

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@smithery/cli

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

MseeP.ai Security Assessment Badge

mcp-scholarly MCP server

smithery badge

A MCP server to search for accurate academic articles. More scholarly vendors will be added soon.

Search tools

  • search-arxiv — arXiv search (no key needed)
  • search-google-scholar — Google Scholar via the scholarly library (free proxy pool)
  • search-google-web — Google web search via the SerpBase API. Optional; only registered when SERPBASE_API_KEY is set. Get a key at https://serpbase.dev/dashboard/api-keys (free tier available).

demo1.jpeg

image

Scholarly Server MCP server

star-history-202551

Components

Tools

The server implements one tool:

  • search-arxiv: Search arxiv for articles related to the given keyword.
    • Takes "keyword" as required string arguments

Quickstart

Install
Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

Development/Unpublished Servers Configuration ``` "mcpServers": { "mcp-scholarly": { "command": "uv", "args": [ "--directory", "/Users/adityakarnam/PycharmProjects/mcp-scholarly/mcp-scholarly", "run", "mcp-scholarly" ] } } ```
Published Servers Configuration ``` "mcpServers": { "mcp-scholarly": { "command": "uvx", "args": [ "mcp-scholarly" ] } } ```

or if you are using Docker

Published Docker Servers Configuration ``` "mcpServers": { "mcp-scholarly": { "command": "docker", "args": [ "run", "--rm", "-i", "mcp/scholarly" ] } } ```
Installing via Smithery

To install mcp-scholarly for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install mcp-scholarly --client claude

Development

Building and Publishing

To prepare the package for distribution:

  1. Sync dependencies and update lockfile:
uv sync
  1. Build package distributions:
uv build

This will create source and wheel distributions in the dist/ directory.

  1. Publish to PyPI:
uv publish

Note: You'll need to set PyPI credentials via environment variables or command flags:

  • Token: --token or UV_PUBLISH_TOKEN
  • Or username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD
Debugging

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.

Using with zorp

zorp needs a search-capable MCP tool before validate will run. This server satisfies that check, because zorp matches on a search verb in the tool name and these tools are called search-arxiv and search-google-scholar.

zorp-agent --yes \
  --mcp "stdio:scholarly:uv:run:mcp-scholarly" \
  validate "<your research question>"

Or configure it once, so every run picks it up:

# .zorp/mcp.toml
[[server]]
name = "scholarly"
transport = "stdio"
command = "uv"
args = ["run", "mcp-scholarly"]
trust = "sandbox"
timeout_secs = 60

Notes measured against zorp's transport, not assumed:

  • search-arxiv answers in about 1 second. zorp's default stdio read budget is 30 seconds, so the default is comfortable. timeout_secs = 60 above is headroom for search-google-scholar, which goes through scholarly and a free proxy pool and is far less predictable.
  • Logging goes to stderr. Nothing but JSON-RPC reaches stdout, which is what zorp's newline-delimited framing requires.
  • An empty keyword comes back as an MCP tool error rather than an empty result set. zorp cares about that distinction: a failed search that looks like "no prior work" would put a wrong novelty score into an evidence record.
  • arxiv returns best-effort matches for any query, including nonsense, so a non-empty result set is not by itself evidence that prior work exists. The tool description says so, since that is the text the model reads.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.