# infimium [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/infimium-ai/infimium-agent  
**GitHub Stars:** 26  
**npm Downloads (last month):** 836  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/infimium

## Description
Private context layer for AI agents: web, docs, code search, dep graph, memory, planning.

## Tools
Capabilities this server exposes over MCP:

- **infimium_update** — On user request, refresh episodic project memory and its handoff graph, or start/stop/status automatic memory updates. Not a package upgrade. Explicit project_path is recommended.
- **hello_infimium** — Health probe for the Infimium MCP server.
- **web_search** — Search the web for current information.
- **fetch_url** — Fetch a URL and extract readable content.
- **query_local_docs** — Query indexed local documentation.
- **semantic_code_search** — Search code semantically and return compact symbol signatures.
- **expand_symbol** — Load the full implementation of one symbol returned by semantic_code_search.
- **dep_graph** — Inspect dependency relationships for a symbol.
- **shell** — Run an allowlisted shell command.
- **plan** — Generate a grounded implementation plan for the current repository.
- **project_memory** — Manage compact project memory across chats, agents, and IDEs: remember active work, complete and archive sessions, search history, or update durable rules.
- **get_context** — Read stored YAML repo overview, task, episodic memory graph and handoff without rescanning. Answer overview questions only when asked. Use refresh=true only when the user requests updated filesystem context; otherwise disclose missing/stale context.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "infimium": {
    "command": "npx",
    "args": ["-y","infimium@latest"]
  }
}
```

## Documentation

## What infimium does

infimium connects an MCP client to a locally indexed project and provides tools for code understanding, documentation lookup, web research, planning, shell execution, and project memory. Its code workflow starts with semantic search that returns compact symbol signatures, then loads a selected implementation with `expand_symbol`. `dep_graph` adds caller and dependency relationships for a symbol.

Project continuity is handled through active task state, episodic history, and durable project rules. Agents can record progress, complete sessions, search previous work, and maintain handoff information. `get_context` reads the stored repository overview, task state, memory graph, and handoff without rescanning the filesystem unless a refresh is requested.

## How it works

Run setup from the root of the repository to create the global Infimium configuration, index source symbols, local documentation, and dependencies, and perform health checks. The indexed data is stored locally under `~/.infimium`, using embedded SQLite in WAL mode. Tree-sitter WASM grammars support AST and dependency analysis, while Ollama with the `nomic-embed-text` model can provide local embeddings.

The MCP interface runs through a local `npx infimium serve` process using stdio/JSON-RPC. An optional update watcher checks Git status and file modification times, creates structured change summaries, and synchronizes project memory. Memory can also be updated manually through MCP tools or the CLI.

## Setup and configuration

Infimium requires Node.js 22.5.0 or newer. From the target repository, run:

```bash
npx infimium@latest setup
```

Setup creates `~/.infimium/.env`, checks or starts Ollama, obtains the embedding model when needed, indexes the project, runs verification checks, and launches the local Playground UI. The `--install-deps` option allows Infimium to install missing Ollama dependencies. It should be run inside the project directory rather than from the home directory.

Register the MCP process in a client configuration with a command of `npx`, arguments `-y`, `infimium`, and `serve`, then restart the client. Cursor, Windsurf, Claude Desktop, and Goose are shown as configuration targets. The background updater can be started with `infimium update start --interval 300`, stopped with `infimium update stop`, or inspected with `infimium update status`.

## Tools and capabilities

- `web_search` finds current information on the web, while `fetch_url` retrieves readable content from a URL.
- `query_local_docs` searches documentation indexed from the repository.
- `semantic_code_search` finds relevant symbols and returns compact signatures; `expand_symbol` retrieves a chosen implementation.
- `dep_graph` inspects dependency relationships for a symbol.
- `plan` creates an implementation plan grounded in the current repository.
- `shell` runs commands from an allowlist.
- `project_memory` records, completes, archives, and searches project work, and maintains durable rules.
- `get_context` reads stored repository and handoff context, with an explicit refresh option for updated filesystem information.
- `infimium_update` manages memory refreshes and automatic update status; `hello_infimium` checks server health.

## Limitations and notes

The project index and memory store are local, so each repository must be initialized before its context is available. `get_context` is intended for stored context and only refreshes filesystem information when requested. Ollama is optional, but it is used for local embeddings and may be installed by the setup command. The `shell` tool is restricted to allowlisted commands.

_Full upstream README: https://allmcps.com/mcp/infimium/readme_

