本项目所提供的MCP服务器,允许AI助手查找并阅读论文,还能查看相关代码仓库以获取更多上下文信息。它配备了一个Model Context Protocol (MCP) 客户端,可与 PapersWithCode API 接口交互。此外,还引入了一些辅助工具,让AI代理能更便捷地利用 PapersWithCode API 提供的信息。
若要自动为 Claude Desktop 安装 mcp-paperswithcode,可访问 Smithery 并运行以下命令:
npx -y @smithery/cli install @hbg/mcp-paperswithcode --client claude
result = await search_papers(
abstract="神经网络",
title="注意力机制",
arxiv_id=None,
page=1,
items_per_page=20
)
result = await get_paper(
paper_id="paper123"
)
result = await read_paper_from_url(
paper_url="https://arxiv.org/pdf/1706.03762.pdf"
)
result = await list_paper_results(
paper_id="paper123",
page=1,
items_per_page=20
)
result = await list_paper_tasks(
paper_id="paper123",
page=1,
items_per_page=20
)
result = await list_paper_methods(
paper_id="paper123",
page=1,
items_per_page=20
)
result = await list_paper_repositories(
paper_id="paper123"
)
result = await search_conferences(
name="Neural Information Processing Systems",
year=2023
)
result = await get_conference(
conference_id="conf123"
)
result = await listConferenceProceedings(
conference_id="conf123"
)
result = await get_conference_proceeding(
conference_id="conf123",
proceeding_id="proc123"
)
result = await list_conference_papers(
conference_id="conf123",
proceeding_id="proc123",
page=1,
items_per_page=20
)