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
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Papers 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
| Field | Type | Description |
|---|---|---|
paper_id | string | The paper ID queried |
total | number | Total number of repositories linked to the paper |
repositories | array | Array 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.