mcp-paperswithcode
🦾 Features
Allows AI assistants to find and read papers, as well as view related code repositories for further context.
This MCP server provides an Model Context Protocol (MCP) client that can interface with the PapersWithCode API.
Additionally, helper tools are introduced to make it easier for the AI agent to make use of the information provided through the PapersWithCode API.
🚀 Getting Started
Installing via Smithery
To install mcp-paperswithcode for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @hbg/mcp-paperswithcode --client claude
Tools
Paper Search and Retrieval
- Search Papers
Search for papers with optional filtering by abstract, title, arxiv ID:
result = await search_papers(
abstract="neural networks",
title="attention mechanism",
arxiv_id=None,
page=1,
items_per_page=20
)
- Get Paper
Get detailed information about a specific paper by ID:
result = await get_paper(
paper_id="paper123"
)
- Read Paper From URL
Extract and read the content of a paper from its URL:
result = await read_paper_from_url(
paper_url="https://arxiv.org/pdf/1706.03762.pdf"
)
Paper Components
- List Paper Results
Lists the results for a given paper ID in PapersWithCode:
result = await list_paper_results(
paper_id="paper123",
page=1,
items_per_page=20
)
- List Paper Tasks
Retrieves the tasks associated with a specific paper ID:
result = await list_paper_tasks(
paper_id="paper123",
page=1,
items_per_page=20
)
- List Paper Methods
Lists the methods related to a given paper ID:
result = await list_paper_methods(
paper_id="paper123",
page=1,
items_per_page=20
)
- List Paper Repositories
Retrieves the repositories linked to a specific paper ID:
result = await list_paper_repositories(
paper_id="paper123",
page=1,
items_per_page=20
)
- List Paper Datasets
List datasets used or referenced in a specific paper:
result = await list_paper_datasets(
paper_id="paper123",
page=1,
items_per_page=20
)
Research Areas
- Search Research Areas
Search for research areas that exist in PapersWithCode:
result = await search_research_areas(
name="computer vision",
page=1,
items_per_page=20
)
- Get Research Area
Get detailed information about a specific research area by ID:
result = await get_research_area(
area_id="area123"
)
- List Research Area Tasks
List the tasks for a given research area ID:
result = await list_research_area_tasks(
area_id="area123",
page=1,
items_per_page=20
)
Authors
- Get Paper Author
Get authors matching a full name:
result = await get_paper_author(
full_name="Geoffrey Hinton",
page=1,
items_per_page=20
)
- List Papers by Author ID
List papers written by a specific author using their ID:
result = await list_papers_by_author_id(
author_id="author123",
page=1,
items_per_page=20
)
Conferences
- List Conferences
List conferences with optional filtering by name:
result = await list_conferences(
conference_name="NeurIPS",
page=1,
items_per_page=20
)
- Get Conference
Get detailed information about a specific conference by ID:
result = await get_conference(
conference_id="conf123"
)
- List Conference Proceedings
List proceedings for a given conference:
result = await list_conference_proceedings(
conference_id="conf123",
page=1,
items_per_page=20
)
- Get Conference Proceeding
Get detailed information about a specific conference proceeding:
result = await get_conference_proceeding(
conference_id="conf123",
proceeding_id="proc123"
)
- List Conference Papers
List papers presented at a specific conference proceeding:
result = await list_conference_papers(
conference_id="conf123",
proceeding_id="proc123",
page=1,
items_per_page=20
)