Papers With Code

liveAI/MLResearch

Browse ML research papers and their linked code repositories

4tools
0msauth
free tier50 calls/day

Tools

search_papersrequired: query

Search machine-learning / AI research papers (via Hugging Face Papers, the successor to Papers with Code). Returns arXiv id, title, authors, community upvotes, and a linked GitHub repo when available.

Parameters
NameTypeDescription
queryreqstringSearch query (e.g., "attention transformer")
limitoptnumberNumber of results to return (default: 10, max: 50)
▶Try it
get_paperrequired: id

Get full detail for a paper by its arXiv id (e.g. "2312.00752"): title, authors, abstract, AI-generated summary and keywords, community upvotes, and counts of linked models / datasets / demo Spaces.

Parameters
NameTypeDescription
idreqstringPapers With Code paper ID (e.g., "attention-is-all-you-need")
▶Try it
get_repositoriesrequired: id

Find IMPLEMENTATIONS of a paper (by arXiv id): the linked GitHub repository plus the most popular Hugging Face models, demo Spaces, and datasets that implement or reproduce it — the "papers with code"

Parameters
NameTypeDescription
idreqstringPapers With Code paper ID
▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/paperswithcode/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/paperswithcode/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_papers","arguments":{"query": "hello"}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_papers", {"query":"example"});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("browse ml research papers and their linked code repositories");