MCP ExplorerExplorer

Limitless Mcp Server

@manueltaroucaon a year ago
10 MIT
FreeCommunity
AI Systems
# A Model Context Protocol Server, Client, and Interaction Mode for Limitless API

Overview

What is Limitless Mcp Server

Limitless MCP Server is a Model Context Protocol server and client implementation designed for interacting with the Limitless Developer API, specifically focusing on GET endpoints.

Use cases

Use cases for Limitless MCP Server include developing applications that require access to lifelog data, creating interactive tools for data analysis, and integrating the Limitless API into various software solutions.

How to use

To use Limitless MCP Server, clone the repository, install dependencies using ‘npm ci’, export your Limitless API key, and then run the server, client, or interactive mode using the provided commands.

Key features

Key features include a GET endpoint for listing lifelogs, a client for connecting to the server, an interactive mode for calling tools with JSON parameters, and the ability to pass environment variables like the API key.

Where to use

undefined

Content

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.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers