get_repositories

Pack: paperswithcode · Endpoint: https://gateway.pipeworx.io/paperswithcode/mcp

Find code implementations linked to a paper (by paper ID). Returns repo URLs, star counts, framework, and official implementation flag.

Parameters

NameTypeRequiredDescription
idstringyesPapers With Code paper ID

Example call

Arguments

{
  "id": "attention-is-all-you-need"
}

curl

curl -X POST https://gateway.pipeworx.io/paperswithcode/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_repositories","arguments":{"id":"attention-is-all-you-need"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_repositories', {
  "id": "attention-is-all-you-need"
});

Response shape

Always returns: paper_id, total, repositories

FieldTypeDescription
paper_idstringThe paper ID queried
totalnumberTotal number of repositories linked to the paper
repositoriesarrayArray of repository objects
Full JSON Schema
{
  "type": "object",
  "properties": {
    "paper_id": {
      "type": "string",
      "description": "The paper ID queried"
    },
    "total": {
      "type": "number",
      "description": "Total number of repositories linked to the paper"
    },
    "repositories": {
      "type": "array",
      "description": "Array of repository objects",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "number",
              "null"
            ],
            "description": "Repository ID"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "Repository URL"
          },
          "owner": {
            "type": [
              "string",
              "null"
            ],
            "description": "Repository owner"
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Repository name"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Repository description"
          },
          "stars": {
            "type": [
              "number",
              "null"
            ],
            "description": "Number of stars on the repository"
          },
          "framework": {
            "type": [
              "string",
              "null"
            ],
            "description": "Framework used in the repository"
          },
          "is_official": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this is the official implementation"
          }
        },
        "required": [
          "id",
          "url",
          "owner",
          "name",
          "description",
          "stars",
          "framework",
          "is_official"
        ]
      }
    }
  },
  "required": [
    "paper_id",
    "total",
    "repositories"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "paperswithcode": {
      "url": "https://gateway.pipeworx.io/paperswithcode/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026