Papers With Code

live Science

Browse ML research papers and their linked code repositories

4 tools
0ms auth
free tier 50 calls/day

Tools

search_papers required: query

Search ML research papers on Papers With Code by keyword. Returns title, authors, abstract, conference, and links.

Parameters
Name Type Description
query req string Search query (e.g., "attention transformer")
limit opt number Number of results to return (default: 10, max: 50)
Try it
get_paper required: id

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

Parameters
Name Type Description
id req string Papers With Code paper ID (e.g., "attention-is-all-you-need")
Try it
get_repositories required: id

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

Parameters
Name Type Description
id req string Papers 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"}}}'