# Memoriki

> Memoriki - LLM Wiki + MemPalace. Personal knowledge base with real memory.

- **Type:** MCP server
- **Install:** `agentstack add mcp-ayanbekdos-memoriki`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [AyanbekDos](https://agentstack.voostack.com/s/ayanbekdos)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [AyanbekDos](https://github.com/AyanbekDos)
- **Source:** https://github.com/AyanbekDos/memoriki

## Install

```sh
agentstack add mcp-ayanbekdos-memoriki
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Memoriki

Personal knowledge base with real memory. Combines [LLM Wiki](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f) (Andrej Karpathy) + [MemPalace](https://github.com/milla-jovovich/mempalace) (MCP server).

Wiki gives structure. MemPalace gives memory.

## The Problem

- **LLM Wiki without MemPalace** = library without a catalog. Search is just grep.
- **MemPalace without Wiki** = search engine without books. Semantic search over raw chunks.
- **Together** = structured knowledge + semantic search + entity graph.

## Three Layers of Knowledge

| Layer | What it does | Tool |
|-------|-------------|------|
| **Wiki** | Structure, [[wiki-links]], YAML frontmatter, index | Markdown + Obsidian |
| **MemPalace Drawers** | Semantic search over all content | `mempalace_search` |
| **MemPalace KG** | Entity relationship graph with timestamps | `mempalace_kg_query` |

## Architecture

```
memoriki/
  raw/                    # Your sources (articles, notes, transcripts)
  wiki/                   # LLM-generated wiki (LLM owns this entirely)
    index.md              # Page catalog - updated on every ingest
    log.md                # Operation log (append-only)
    entities/             # People, companies, products
    concepts/             # Ideas, patterns, frameworks
    sources/              # Summary page per source
    synthesis/            # Cross-cutting analysis, comparisons
  mempalace.yaml          # MemPalace config
  CLAUDE.md               # Schema and rules for the LLM
  idea-file.md            # Karpathy's original idea (reference)
```

## Quick Start

```bash
# 1. Clone
git clone https://github.com/AyanbekDos/memoriki.git my-knowledge-base
cd my-knowledge-base

# 2. Install MemPalace
pip install mempalace
mempalace init .

# 3. Connect MemPalace to Claude Code
claude mcp add mempalace -- python -m mempalace.mcp_server

# 4. Drop your first source
cp ~/some-article.md raw/

# 5. Launch Claude Code and start ingesting
claude
# > Read raw/some-article.md and ingest it into the wiki
```

## Operations

- **Ingest** - drop a file into `raw/`, tell the LLM to read and integrate it into the wiki
- **Query** - ask a question, LLM finds relevant pages and synthesizes an answer
- **Lint** - health check: contradictions, orphans, knowledge gaps

## Works With

Any MCP-compatible LLM agent:
- **Claude Code** - use `CLAUDE.md` as-is
- **OpenAI Codex** - rename `CLAUDE.md` to `AGENTS.md`
- **Cursor, Gemini CLI** and other MCP-compatible tools

## Use Cases

- **Founders**: customer discovery, interviews, competitors, pivots - all in one place
- **Researchers**: papers, articles, notes - wiki with compounding synthesis
- **Students**: lecture notes, books, projects - structured "second brain"
- **Teams**: Slack threads, meetings, decisions - AI-maintained wiki

## License

MIT

## Credits

- [Andrej Karpathy](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f) - original LLM Wiki idea
- [MemPalace](https://github.com/milla-jovovich/mempalace) - MCP server for semantic search and knowledge graph
- [Claude Code](https://claude.com/claude-code) - LLM agent

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [AyanbekDos](https://github.com/AyanbekDos)
- **Source:** [AyanbekDos/memoriki](https://github.com/AyanbekDos/memoriki)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-ayanbekdos-memoriki
- Seller: https://agentstack.voostack.com/s/ayanbekdos
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
