Skip to main content
Glama

Chilli

Press the Action Button. Your AI remembers it.

Self-hosted memory for Claude, ChatGPT and Cursor: screenshots and links go to your own server, a model describes them, and your assistant finds them over MCP.

Chilli demo: save a screenshot or a link with one tap, then ask your AI about it weeks later

An illustration of the flow, not a screen recording; the chat answers are what Chilli returns for its demo data. Full video (MP4).

New to servers? You do not need to be technical. Step-by-step install guide: rent a small server, point a domain at it, run one installer, add the phone button (iPhone or Android) and connect your AI app, in about an hour. Or let an AI assistant guide you: paste one prompt into Claude, ChatGPT or Gemini and it walks you through every step.

Why Chilli

  • One-button capture. Works with any phone. On iPhone the Action Button saves a screenshot; on Android you share it from the screenshot preview; the share sheet saves a link on both. A browser extension saves pages, selections and tab screenshots. No folders, tags or titles.

  • A remote MCP server. Add it as a custom connector in claude.ai and your saves are there in every chat and in scheduled tasks, not only on one computer.

  • Ratings per project. Describe your projects once; every save gets a 1-10 usefulness score for each.

  • Recall. Forgotten but useful saves come back (from_archive), reminders when you ask for them, and a daily or weekly digest written by a scheduled task.

  • Knowledge gaps. When your assistant looks for something and Chilli has nothing, it reports the gap (report_gap); the next save that answers it is pointed out in your digest.

  • Your X bookmarks, automatically (optional). Connect your X account once and every post you bookmark on X becomes a save, through the official X API and your own developer app (typically under $1 a month).

  • Bring your own model. Anthropic, or any OpenAI-compatible API, including a local model in Ollama.

  • Small to run. One docker compose with Postgres on a small VPS or a home server.

Related MCP server: deeplore

Quick start

  1. git clone https://github.com/pawelmnowak1990-Now4czek/chilli.git && cd chilli

  2. ./setup.sh asks for your domain, model and key, writes .env, starts the containers and prints your capture token and MCP address.

  3. Add the iPhone Shortcut or the Android share shortcuts, and the connector in your AI client.

  4. Optional: the browser extension for Chrome, Edge, Brave, Arc and Dia (download the zip from the latest release).

Details, nginx instead of Caddy, updates and backups: docs/guides/install.md. Never rented a server? Step-by-step guide for non-technical people, or let an AI assistant guide you with a ready-to-paste prompt. Try it with demo data first: docker compose exec api python -m app.demo_seed --apply (more).

Privacy

  • Your saves, screenshots and ratings live only on your server, in your database.

  • Screenshots and page text are sent to the model provider you configure, to be described; with a local model (Ollama, LM Studio) they never leave your machines.

  • Embeddings are computed locally; search needs no API.

  • To read a saved link, the server fetches that page from its site; posts on X go through the public fxtwitter API.

  • With the X bookmarks import on, Chilli reads only your bookmarks, using your own X app's keys; the X access tokens stay in your database and are never logged.

  • No telemetry: nothing is sent to the authors.

Status

v0.1, early. Tested live with Claude (Anthropic); the OpenAI-compatible adapter, local models and the ChatGPT connector are covered by tests only so far. Feedback and reports of what works are welcome via issues.

License: MIT, see LICENSE.

Features

  • Screenshots (iPhone Action Button or Back Tap, Android share sheet), links (share sheet on iPhone and Android), selected text, page and tab screenshots (browser extension).

  • Full text: screenshots are transcribed, linked pages are fetched (articles via trafilatura, posts on X via a public API), so search works on the content, not only the title.

  • Hybrid search (full-text plus semantic, with a local embedding model that needs no API).

  • Duplicate merging (a screenshot and a link of the same page become one finding).

  • Usefulness rating per project, "from the archive" recall, reminders, RSS subscriptions rated by project.

  • X bookmarks import (optional): new bookmarks are fetched every 30 minutes and saved like a shared link; OAuth 2.0 with your own X app, off unless configured. Guide: docs/guides/x-bookmarks.md.

  • "You already have something on this": the browser extension shows related saves for the page you are on.

  • Markdown and JSON export (python -m app.export), daily backups (deploy/backup.sh).

  • Any model: Claude, or any OpenAI-compatible API (OpenAI, OpenRouter, Gemini, Ollama, LM Studio, vLLM).

  • Descriptions in your language (CONTENT_LANGUAGE); transcribed text stays in its original language.

Requirements

  • A Linux server or a home machine with Docker and the Docker Compose plugin.

  • About 1-1.5 GB of free RAM for Chilli (Postgres with pgvector plus the service with the local embedding model), 2 vCPU, a few GB of disk. On a 2 GB machine, add swap (see the install guide).

  • For use from the phone: a domain (or subdomain) with a DNS A record pointing at the server, so Chilli can be reached over HTTPS. Without one, Chilli runs local-only.

  • A model: an API key for Claude or an OpenAI-compatible service, or a local server such as Ollama with a model that can read images.

How it works

iPhone Shortcut / Android share / browser extension
        |  HTTPS, Authorization: Bearer <CAPTURE_TOKEN>
        v
   POST /capture  --->  answers at once, processing runs in the background:
                          screenshot -> model reads it (title, summary, kind, tags, full text)
                          link       -> page fetched -> model describes it
                          then: local embedding -> Postgres + pgvector -> rating per project
        ^
        |  MCP (Streamable HTTP), Authorization: Bearer <MCP_SECRET>
AI clients: claude.ai, Claude Code, Cursor, ...   tools: search_saves, top_saves, from_archive, report_gap, ...

One service and one database in Docker Compose. The phone holds no logic: the shortcuts (iPhone or Android) only send the screenshot or the link.

Model providers

Provider

LLM_PROVIDER

LLM_BASE_URL

Tested live

Claude (Anthropic)

anthropic

empty

yes (claude-sonnet-5-5)

OpenAI

openai

empty

not yet

OpenRouter

openai

https://openrouter.ai/api/v1

not yet

Gemini (OpenAI-compatible endpoint)

openai

https://generativelanguage.googleapis.com/v1beta/openai/

not yet

Ollama

openai

http://host.docker.internal:11434/v1

not yet

LM Studio

openai

http://host.docker.internal:1234/v1

not yet

vLLM

openai

your server's /v1 address

not yet

The OpenAI-compatible adapter is covered by tests against a simulated server; real servers differ in structured-output support, and small local models read fine print on screenshots less reliably. Reports of what works are welcome. Details: docs/guides/configuration.md.

Guides

Development

uv venv --python 3.12 .venv
uv pip install --python .venv/bin/python -r requirements.txt -r requirements-dev.txt
.venv/bin/pytest -q

The tests start a temporary Postgres 16 with pgvector through the pgserver package, so they need no Docker.

Author

Created by Paweł Nowak (@Nowak1990P on X).

License

MIT, see LICENSE.

Available Tools

18 tools
add_feedA

Subscribes to an RSS/Atom feed (the feed address, not the page). Only the 5 newest entries are rated, then new ones every few hours. Adding the same address again resumes a paused feed.

Inputs: url (required). Returns: object

due_remindersB

Saves whose reminder date has passed (or is today), oldest due date first. They leave the list after the save's status changes or after a new remind_save.

Inputs: limit. Returns: result

feed_highlightsA

RSS feed entries with a score of at least min_score that appeared in the last days days and have not been saved yet. Each has an id (for save_feed_entry), feed, title, URL, description and project ratings. Entries from the owner's own sites (upsert_project own_sites) are skipped.

Inputs: days, limit, min_score. Returns: result

from_archiveA

The "From the archive" section: saves from 2-8 weeks ago with a 7+ score in an active project, still with status 'nowy' (saved and forgotten). Different every day, the same within a day.

limit: how many saves (default 2, max 5).

Inputs: limit. Returns: result

get_saveC

The full save: title, summary, whole text, URL, status, note and usefulness ratings for projects (projects: project, score 1-10, reasoning).

Inputs: save_id (required). Returns: object

list_feedsA

Subscribed feeds: address, title, whether active, how many entries and how many highlighted (7+), the last fetch and its error.

Inputs: no named parameters. Returns: result

list_gapsA

Knowledge gaps, most often reported first.

status: open (waiting), candidate (a newer save may answer it: closed_by, closed_by_title),
    closed, dismissed; null = all.
project: only gaps for this project.
limit: how many (default 20, max 100).

Inputs: limit, status, project. Returns: result

list_projectsC

The owner's projects that saves are rated against: name, description, whether active, own sites (pages the owner publishes for the project), how many saves match it.

Inputs: only_active. Returns: result

list_recentB

Saves from the last days, newest first (e.g. for a weekly summary).

Inputs: days, limit, status. Returns: result

remind_saveA

Remind about a save in days days (counted from today's date in Warsaw; 0 clears the reminder). The save appears in due_reminders on the due date and stays there until its status changes (set_status). Changing the status before the due date does not clear the reminder, unless it is 'wykorzystany' or 'archiwum'.

Inputs: save_id (required), days. Returns: object

report_gapA

Reports something you looked for in Chilli and did not find, or found wrong or out of date. No model call; a question close to an open gap counts as a repeat (times_reported + 1).

question: what you were looking for, one sentence (max 500 characters).
kind: missing (not there), wrong (a save says something incorrect), stale (out of date).
context: optionally, what task you were doing.
suggestion: optionally, the correct fact or a source worth saving.
save_id: for wrong/stale, the save in question.
project: optionally, the project it concerns (name from list_projects).

Inputs: question (required), kind, context, project, +2 more. Returns: object

resolve_gapA

Changes a knowledge gap's status, when the owner says so.

status: closed (answered: by save_id, or by the candidate save already suggested),
    dismissed (not worth filling), open (back on the list).

Inputs: gap_id (required), status (required), save_id. Returns: object

save_feed_entryA

Saves a feed entry as a regular link save: the server fetches the page, describes it and rates it, like a link from the phone. Returns the new save's id.

Inputs: entry_id (required). Returns: object

search_savesA

Searches saves by content and meaning (full-text and semantic at once).

query: what you are looking for, in plain words, in Polish or English.
limit: how many results (default 10, max 50).
status: optionally only saves with this status (nowy, przejrzany, wykorzystany, archiwum).

Inputs: query (required), limit, status. Returns: result

set_feed_activeA

Pauses (active=false) or resumes a feed subscription. Entries and ratings are kept.

Inputs: url (required), active (required). Returns: object

set_statusA

Changes a save's status (nowy, przejrzany, wykorzystany, archiwum) and optionally adds a note.

Inputs: status (required), save_id (required), note. Returns: object

top_savesA

The most useful saves, highest 1-10 score first.

project: only ratings for this project (name from list_projects); without it, the save's best
    score among active projects counts.
days: only saves from the last days.
min_score: lowest score in the result (e.g. 7 = only clearly useful).
limit: how many results (default 20, max 100). Saves with status archiwum are skipped.
include_own: also return saves from the owner's own sites (own_project set); skipped by default,
    because the owner's own pages are not finds.

Inputs: days, limit, project, min_score, +1 more. Returns: result

upsert_projectA

Adds a project or changes the existing one with the same name.

name: project name.
description: 1-2 sentences on what the project is about; the model rates saves against this description.
active: false = project finished: new saves are not rated for it, and top_saves without a project
    skips it. Its old ratings are visible through top_saves(project=...) until re-rating (rerate --all).
own_sites: pages the owner publishes for this project, e.g. ["example.com", "github.com/owner/repo"]
    (a domain covers its subdomains, a path covers everything below it). Saves and RSS entries from
    them are the owner's own content: marked with own_project and left out of top_saves,
    from_archive and feed_highlights. Replaces the whole list; [] clears it.
Omitted fields stay unchanged. A new project covers saves from now on; older ones are re-rated
by the owner on the server (python -m app.rerate).

Inputs: name (required), active, own_sites, description. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 18 tools

    Disambiguation4/5

    Most tools are clearly differentiated by resource and action (save lookup, status changes, project ratings, RSS feeds, knowledge gaps). Some retrieval tools (search_saves, list_recent, top_saves, from_archive) overlap in returning saves, but their descriptions define distinct criteria, so misselection risk is moderate rather than severe.

    Naming Consistency3/5

    All names use snake_case, but the set mixes verb_noun forms (search_saves, set_status, report_gap) with noun/adjective phrases (top_saves, from_archive, due_reminders, feed_highlights) and list_recent without a noun. It remains readable and mostly predictable, but it is not a uniform verb_noun convention.

    Tool Count4/5

    The 18 tools cover four coherent areas: saves, projects, feeds, and knowledge gaps. This is slightly above the ideal range, but each tool has a clear role, so the surface feels rich rather than bloated.

    Completeness4/5

    The surface covers search/read, status changes, ratings, reminders, RSS subscription/highlighting, and gap reporting/resolution. Minor gaps exist (no general create_save or delete_save/delete_project), but phone ingestion and status/deactivation workarounds cover most workflows.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      Not graded
      maintenance
      A local-first knowledge base server that enables AI clients to store, retrieve, and manage documents using semantic search. Provides privacy-focused, offline-capable memory for AI assistants with tools for ingesting, querying, updating, and deleting knowledge.
      7
      21 npm
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Self-hosted RAG-powered knowledge base that surfaces context from structured notes and transcripts, exposing each project as an MCP tool.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Self-hosted knowledge manager and MCP server that lets you organize snippets, questions, and documents via a web UI and exposes them to AI assistants for reading and writing.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Self-hosted knowledge base that gives AI agents persistent memory over MCP. 18 tools covering notes, folders, tags and trash; hybrid search combining pgvector embeddings with bilingual full-text ranking via RRF; [[wikilink]] graph traversal and backlinks; document import from PDF, DOCX and EPUB. Connects over Streamable HTTP or stdio, with Bearer-token or OAuth auth.
      18
      6
      AGPL 3.0