199bio-mcp-limitless-server
Version:
Enhanced MCP server for Limitless Pendant with advanced conversation analysis, meeting detection, action item extraction, and comprehensive analytics. Features smart pagination for handling large datasets.
70 lines • 2 kB
TypeScript
export interface LifelogParams {
limit?: number;
batch_size?: number;
includeMarkdown?: boolean;
includeHeadings?: boolean;
date?: string;
start?: string;
end?: string;
timezone?: string;
direction?: "asc" | "desc";
cursor?: string;
isStarred?: boolean;
}
export interface LifelogContentNode {
type: string;
content?: string;
startTime?: string;
endTime?: string;
startOffsetMs?: number;
endOffsetMs?: number;
children?: LifelogContentNode[];
speakerName?: string | null;
speakerIdentifier?: "user" | null;
}
export interface Lifelog {
id: string;
title?: string;
markdown?: string;
startTime: string;
endTime: string;
contents?: LifelogContentNode[];
isStarred?: boolean;
updatedAt?: string;
}
export interface LifelogsResponse {
data: {
lifelogs: Lifelog[];
};
meta: {
lifelogs: {
nextCursor?: string;
count: number;
};
};
}
export interface SingleLifelogResponse {
data: {
lifelog: Lifelog;
};
}
export declare class LimitlessApiError extends Error {
status?: number | undefined;
responseBody?: any | undefined;
constructor(message: string, status?: number | undefined, responseBody?: any | undefined);
}
export declare function getLifelogs(apiKey: string, options?: LifelogParams): Promise<Lifelog[]>;
export interface LifelogsWithPagination {
lifelogs: Lifelog[];
pagination: {
nextCursor?: string;
hasMore: boolean;
count: number;
};
}
/**
* Get lifelogs with pagination metadata - for MCP tools that need cursor info
*/
export declare function getLifelogsWithPagination(apiKey: string, options?: LifelogParams): Promise<LifelogsWithPagination>;
export declare function getLifelogById(apiKey: string, lifelogId: string, options?: Pick<LifelogParams, 'includeMarkdown' | 'includeHeadings'>): Promise<Lifelog>;
//# sourceMappingURL=limitless-client.d.ts.map