@futurelab-studio/latest-science-mcp
Version:
MCP Server for Scientific Paper Harvesting from arXiv and OpenAlex
42 lines (41 loc) • 845 B
TypeScript
export interface ArxivEntry {
id: string;
title: string;
authors: Author[];
published: string;
pdf_url: string;
html_url?: string;
}
export interface Author {
name: string;
affiliation?: string;
}
export interface OpenAlexWork {
id: string;
title: string;
authorships: Authorship[];
publication_date: string;
primary_location: {
landing_page_url?: string;
pdf_url?: string;
source_type: string;
};
}
export interface Authorship {
author: {
display_name: string;
id?: string;
};
institutions: Array<{
display_name: string;
id?: string;
}>;
}
export interface RateLimiterState {
[source: string]: {
tokens: number;
lastRefill: number;
maxTokens: number;
refillRate: number;
};
}