UNPKG

paper-search-mcp-nodejs

Version:

A Node.js MCP server for searching and downloading academic papers from multiple sources, including arXiv, PubMed, bioRxiv, Web of Science, and more.

39 lines 1.07 kB
/** * arXiv API集成模块 * 基于arXiv API v1.1实现论文搜索和下载功能 */ import { Paper } from '../models/Paper.js'; import { PaperSource, SearchOptions, DownloadOptions, PlatformCapabilities } from './PaperSource.js'; export declare class ArxivSearcher extends PaperSource { constructor(); getCapabilities(): PlatformCapabilities; /** * 搜索arXiv论文 */ search(query: string, options?: SearchOptions): Promise<Paper[]>; /** * 下载PDF文件 */ downloadPdf(paperId: string, options?: DownloadOptions): Promise<string>; /** * 读取论文全文内容(从PDF中提取) */ readPaper(paperId: string, options?: DownloadOptions): Promise<string>; /** * 构建搜索查询 */ private buildSearchQuery; /** * 映射排序字段 */ private mapSortField; /** * 解析搜索响应 */ private parseSearchResponse; /** * 解析单个arXiv条目 */ private parseArxivEntry; } //# sourceMappingURL=ArxivSearcher.d.ts.map