Claude Research Gateway

Claude Research Gateway

An MCP server that enables Claude to access paywalled scientific papers through your institutional login (Shibboleth/SAML SSO, EZProxy).

Category
Visit Server

README

Claude Research Gateway πŸ”¬

An MCP (Model Context Protocol) server that enables Claude to access paywalled scientific papers through your institutional login (Shibboleth/SAML SSO, EZProxy).

How it works: When you ask Claude to find or read a paper, this tool authenticates to journal portals using your university credentials (via a browser popup), then fetches the full text of papers you have institutional access to.

Supported Portals

Portal Key Publisher
ACS Publications acs American Chemical Society
SciFinder-n scifinder CAS
ScienceDirect elsevier Elsevier
Springer / Nature springer Springer Nature
Wiley Online Library wiley Wiley
IEEE Xplore ieee IEEE
JSTOR jstor JSTOR
PubMed Central pmc NIH / NLM

Prerequisites

  • Python 3.10+
  • uv (Python package manager): pip install uv
  • A valid institutional login (university SSO credentials)

Quick Setup

1. Install Dependencies

cd claude-tool-research
uv sync

2. Install Playwright Browsers

uv run playwright install chromium

3. Add to Claude Desktop

Edit your Claude Desktop config file:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Add this MCP server entry:

{
  "mcpServers": {
    "research-gateway": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\Users\\abdir\\Documents\\projects-code\\claude-tool-research",
        "run",
        "server.py"
      ]
    }
  }
}

4. Restart Claude Desktop

Close and reopen Claude Desktop. You should see the research tools appear in the tools menu (πŸ”¨ icon).

Usage Examples

First-Time Setup

You: "Configure my institution β€” I'm at MIT"
Claude: [Calls configure_institution with name="MIT", wayf_name="Massachusetts Institute of Technology"]

You: "Log me into ACS Publications"  
Claude: [Calls authenticate_portal("acs")]
β†’ A browser window opens β†’ You complete your university SSO login β†’ Session is saved

Searching Papers

You: "Search ACS for papers about lithium-ion battery cathodes published recently"
Claude: [Calls search_papers("acs", "lithium-ion battery cathode materials")]
β†’ Returns formatted search results with titles, authors, DOIs

Reading a Paper

You: "Fetch the full text of DOI 10.1021/jacs.3c12345"
Claude: [Calls fetch_paper("acs", doi="10.1021/jacs.3c12345")]
β†’ Downloads and extracts the full paper text for Claude to read and discuss

Checking Session

You: "Is my ACS session still active?"
Claude: [Calls check_session("acs")]
β†’ Reports session status and age

Available Tools

Tool Description
list_portals Shows all portals and your login status for each
authenticate_portal Opens browser for institutional SSO login
check_session Verifies if a session is still valid
search_papers Searches for papers by keywords, title, etc.
fetch_paper Downloads and extracts full paper text (via DOI or URL)
configure_institution Sets up your institution name, EZProxy URL, WAYF name

How Authentication Works

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Claude     │───▢│  MCP Server  │───▢│  Playwright    │───▢│  Publisher   β”‚
β”‚  (asks for   β”‚    β”‚  (manages    β”‚    β”‚  Browser       β”‚    β”‚  Login Page  β”‚
β”‚   a paper)   β”‚    β”‚   sessions)  β”‚    β”‚  (visible)     β”‚    β”‚  (SSO/SAML)  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                              β”‚                       β”‚
                                              β”‚    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
                                              └───▢│  Your Univ.  β”‚β—€β”€β”€β”˜
                                                   β”‚  IdP (SSO)   β”‚
                                                   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                          β”‚
                                                   You enter your
                                                   credentials here
  1. Claude calls authenticate_portal β†’ a real browser window opens
  2. The browser navigates to the publisher's institutional login
  3. You're redirected to your university's SSO page (Shibboleth/SAML)
  4. You enter your credentials in the browser
  5. After successful login, the tool captures the session cookies
  6. Cookies are encrypted and stored locally in ~/.claude-research/sessions/
  7. Subsequent requests use these cookies β€” no browser needed until they expire

Security Notes

  • No credentials stored: Only session cookies are saved, never your password
  • Encrypted storage: Cookies are encrypted with a machine-local key (Fernet)
  • Session expiry: Sessions follow your institution's expiry policy (typically 8–24h)
  • Local only: All data stays on your machine in ~/.claude-research/

Configuration

Optional: create ~/.claude-research/config.json:

{
  "institution": {
    "name": "MIT",
    "ezproxy_url": "https://ezproxy.library.mit.edu/login",
    "wayf_institution_name": "Massachusetts Institute of Technology"
  },
  "rate_limit_seconds": 1.0,
  "max_content_length": 100000,
  "browser_timeout_seconds": 300
}

Troubleshooting

Issue Solution
Browser doesn't open Run uv run playwright install chromium
Login times out Increase browser_timeout_seconds in config
Session expired quickly Your institution may have short session limits; re-authenticate
Paper text is empty Some publishers serve content via JavaScript β€” try the PDF version
"Access denied" error Re-authenticate with authenticate_portal

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured