Metadata-Version: 2.3
Name: arxiv-query-mcp
Version: 1.0.0
Summary: MCP server for querying, retrieving, and reading arXiv papers
Keywords: arXiv,mcp,mcp-server,search
Author: Lucas Waetzig
Author-email: Lucas Waetzig <development@waetzig.net>
License: MIT License
         
         Copyright (c) 2026 Lucas
         
         Permission is hereby granted, free of charge, to any person obtaining a copy
         of this software and associated documentation files (the "Software"), to deal
         in the Software without restriction, including without limitation the rights
         to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         copies of the Software, and to permit persons to whom the Software is
         furnished to do so, subject to the following conditions:
         
         The above copyright notice and this permission notice shall be included in all
         copies or substantial portions of the Software.
         
         THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         SOFTWARE.
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development :: Libraries
Requires-Dist: mcp[cli]>=1.0.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: pydantic>=2.0.0
Requires-Python: >=3.11
Project-URL: Homepage, https://github.com/LWaetzig/arxiv-mcp
Project-URL: Repository, https://github.com/LWaetzig/arxiv-mcp
Project-URL: Issues, https://github.com/LWaetzig/arxiv-mcp/issues
Project-URL: Documentation, https://github.com/LWaetzig/arxiv-mcp#readme
Description-Content-Type: text/markdown

# arxiv-query-mcp

An MCP (Model Context Protocol) server that gives AI assistants direct access to arXiv. Search papers, retrieve full metadata, browse categories, and read paper text.

## Table of Contents
1. [Features](#features)
2. [Installation](#installation)
3. [Usage](#usage)
4. [Contributing](#contributing)

## Features

- **Search arXiv** — Full query syntax support with title, author, abstract, and category filters
- **Get paper metadata** — Retrieve complete details for any paper by ID (abstract, authors, categories, DOI, links)
- **Browse by category** — List recent papers in specific subject areas (ML, AI, NLP, Computer Vision, etc.)
- **Read paper text** — Fetch HTML-rendered paper content or fallback to abstracts with links
- **Flexible formatting** — Response support for both markdown (human-readable) and JSON (programmatic)
- **Pagination** — Handle large result sets with configurable limits and offsets

## Installation

### Prerequisites

- `Python 3.11` or later
- Dependencies `mcp[cli]>=1.0.0`, `httpx>=0.27.0`, `pydantic>=2.0.0` (see [pyproject.toml](pyproject.toml)) (project uses `uv` for dependency management)

### Install from PyPI

```bash
pip install arxiv-query-mcp
```

### Build from Source

```bash
git clone https://github.com/LWaetzig/google-scholar-mcp.git
cd google-scholar-mcp
pip install -e .
```

---

## Usage

- Detailed documentation about single tools can be found [here](./docs/tool-references.md)

### Integration with Claude Desktop

Add the server to your Claude Desktop configuration:

| Platform | Path |
|---|---|
| macOS | `~/Library/Application Support/Claude/claude_desktop_config.json` |
| Windows | `%APPDATA%\Claude\claude_desktop_config.json` |

Add the `arxiv` entry under `mcpServers`, replacing the path with the absolute path to your clone:

```json
{
  "mcpServers": {
    "arxiv": {
      "command": "python",
      "args": ["-m", "arxiv-query-mcp"]
    }
  }
}
```

Restart Claude Desktop. You should see the arxiv tools available in the tool picker.

### Integration with Other MCP Clients

Any MCP client (e.g., Cline, Continue, or custom tools) can use this server. Configure the connection to:

```
Command: python -m arxiv-query-mcp.server
Transport: stdio
```

## Contributing

Contributions are welcome! Please:

1. Fork the repository
2. Create a feature branch (`git checkout -b feature/your-feature`)
3. Commit your changes with clear messages
4. Push to your fork
5. Open a pull request

## Support

For issues, questions, or feature requests, please open an issue on GitHub.

## License

[See LICENSE file](LICENSE)