@rhofkens/mcp-quotes-server
Version:
A Model Context Protocol (MCP) server that provides quotes based on user requests
26 lines (25 loc) • 550 B
TypeScript
export interface SerperSearchRequest {
q: string;
gl?: string;
hl?: string;
num?: number;
}
export interface SerperSearchResult {
organic?: Array<{
title: string;
snippet: string;
link: string;
}>;
knowledgeGraph?: {
title: string;
description: string;
};
}
export interface SerperApiResponse {
organic: SerperSearchResult["organic"];
knowledgeGraph: SerperSearchResult["knowledgeGraph"];
}
export interface QuoteSearchParams {
person: string;
topic?: string;
}