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 ML research papers on Papers With Code by keyword. Returns title, authors, abstract, conference, and links.

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

Get a single paper by its Papers With Code ID. Returns full metadata including title, abstract, authors, and links.

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

Get code repositories linked to a paper by paper ID. Returns repo URL, stars, framework, and whether it is the official implementation.

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");