Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

limitless-mcp-server

MCP.Pizza Chef: manueltarouca

The limitless-mcp-server is a minimal Model Context Protocol server and client implementation designed to interact with the Limitless Developer API. It exposes a GET endpoint to list lifelogs with optional query parameters, supports an interactive mode for calling any tool with JSON parameters, and manages environment variables including API keys. Built with Node.js and TypeScript, it demonstrates how to integrate API endpoints as MCP tools and orchestrate calls via a client in a single merged codebase.

Use This MCP server To

Expose Limitless API lifelog data as MCP tools Query lifelogs with flexible parameters via MCP Interactively call MCP tools using JSON input Integrate Limitless API endpoints into AI workflows Pass environment variables securely to MCP server Demonstrate MCP server/client architecture with API Build custom MCP clients for Limitless API access

README

Limitless 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

  1. Clone the repository and navigate into it.
  2. Install dependencies:
npm ci
  1. 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 getLifelogs tool.
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.

limitless-mcp-server FAQ

How do I set up the limitless-mcp-server?
Clone the repo, install dependencies with npm ci, export your Limitless API key, then build with npm run build.
What Node.js version is required?
Node.js v20 or higher is required for native fetch support or use a polyfill.
How does the interactive mode work?
It allows calling any MCP tool with JSON parameters for flexible testing and usage.
How are API keys managed?
API keys are passed securely as environment variables to the spawned MCP server process.
Can I extend the server with more endpoints?
Yes, the codebase demonstrates how to expose additional API endpoints as MCP tools.
Is this server compatible with other MCP clients?
Yes, it follows MCP standards and can interoperate with any compliant MCP client.
What programming language is used?
The server and client are implemented in TypeScript for Node.js.
Does it support POST or other HTTP methods?
Currently, only GET endpoints are implemented, but it can be extended for other methods.