Limitless MCP Integration
LocalAbout Limitless MCP Integration
A combined MCP server and client for the Limitless Developer API, for projects that need to expose or call its lifelog endpoint. It includes an interactive mode for invoking tools with JSON parameters.
Key features
- 01Expose the getLifelogs endpoint
- 02Client mode for calling tools
- 03Interactive JSON parameter input
- 04Pass environment variables to server
Use cases
- 01List lifelogs through MCP
- 02Call the server from its client mode
- 03Try tools with custom JSON parameters
MCP support
The server exposes the Limitless API's getLifelogs GET endpoint as an MCP tool. Its client can spawn the server and call tools.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMELimitless MCP Integration
This repository provides a minimal MCP server/client implementation for interacting with the Limitless Developer API (GET endpoint only). It demonstrates how to expose API endpoints as MCP tools and how to call them via a client using a single merged codebase.
Features
- MCP Server: Exposes a GET endpoint:
getLifelogs: List lifelogs with optional query parameters.
- MCP Client: Connects to the server and calls the tools.
- Interactive Mode: Allows calling any tool with JSON parameters.
- Passes environment variables (including API key) to the spawned server.
Prerequisites
- Node.js v20 or higher (with native fetch support or a polyfill)
- npm
- A valid Limitless API key
Setup
- Clone the repository and navigate into it.
- Install dependencies:
npm ci
- Export your API key:
export LIMITLESS_API_KEY=your_api_key_here
Build
Compile the TypeScript code:
npm run build
Usage
The merged implementation supports three modes:
- Server Mode: Runs the MCP server.
node build/index.js server
- Client Mode: Spawns the server and calls the
getLifelogstool.
node build/index.js client
- Interactive Mode: Launches an interactive client to call tools with JSON parameters.
node build/index.js interactive
References
License
This project is licensed under the MIT License.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.