Skip to main content

Agent-first MCP server for capturing and recalling ideas — the agent's and their human's.

Project description

ideahub-mcp

An agent-first MCP server for capturing and recalling ideas — the agent's and their human's.

The primary user is a model. Tools are short, imperative, example-laden; errors carry a repair path; scope and actor resolve from context so the agent doesn't have to ask.

Tools

Tool Purpose
capture Durable idea. Use when work produces something worth preserving beyond the task.
checkpoint Lightweight working-memory trace. Use mid-task for observations, decisions, next steps.
dump Text-blob summary of the scoped corpus under a token budget.
search FTS5 + bm25 ranked search with snippets.
list Filter ideas by scope, actor, tags, date range.
get Full detail for one idea, with notes and outbound links.
related Nearest neighbors by tag overlap → shared originator → recency.
annotate Append a free-text note to an idea without mutating it.
archive Hide an idea; write a typed archive note with reason.
link Connect two ideas (related, supersedes, evolved_from, duplicate).
recognize Inspect the actor table.
ping Cheap no-side-effect health probe for connection/debugging.

Writeback Loop

ideahub-mcp is designed to behave like working memory for an agent, not just searchable storage. Two write verbs close that loop:

  • capture writes a durable idea that should survive the task.
  • checkpoint writes a lightweight in-flight trace — observations, decisions, assumptions, open questions — without the semantic weight of a full idea.

All write-path verbs (capture, checkpoint, annotate, link) accept an optional task_ref — an opaque free-form string that groups every write from the same task so the stream can be reconstructed later.

capture and checkpoint return scored annotate_candidates and related_candidates in their response so the model sees where a fresh trace probably belongs (usually as an annotation on an existing idea) without having to search. Checkpoints are default-excluded from search, list, and dump so cheap traces do not bleed into orientation surfaces — opt in with include_checkpoints=True.

Discovery And Health

ideahub-mcp is intentionally tool-first, not resource-first. A client may show a healthy connection even when list_resources() is sparse or empty.

To make discovery cheap and host-agnostic, the server exposes:

  • ping: a no-side-effect tool for "is the server connected and responsive?"
  • ideahub://status: a status resource that reports package version, storage paths, and the current tool surface

That design supports hosts that favor different MCP surfaces. Some clients reason primarily over tools. Others probe resources first. A healthy server should be easy to verify in either style.

For the full compatibility rubric, see docs/mcp-health.md.

Install

uvx ideahub-mcp        # try it
uv tool install ideahub-mcp   # keep it around

Claude Code

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "ideahub": {
      "command": "uvx",
      "args": ["ideahub-mcp"],
      "env": {
        "IDEAHUB_MCP_HOME": "/Users/you/.ideahub-mcp",
        "IDEAHUB_ACTOR": "human:you"
      }
    }
  }
}

Configuration

Var Default Purpose
IDEAHUB_MCP_HOME ~/.ideahub-mcp/ Data directory (SQLite store, logs, backups).
IDEAHUB_ACTOR Fallback actor id (human:you or agent:name).
IDEAHUB_SCOPE Fallback scope when cwd isn't a git repo.

Actor resolution: explicit arg → MCP clientInfo.nameIDEAHUB_ACTOR → error. Scope resolution: explicit arg → IDEAHUB_SCOPErepo:<git-toplevel>global.

Storage

One SQLite file with WAL, FTS5, and hand-rolled migrations. No ORM. Daily snapshots to $IDEAHUB_MCP_HOME/backups/ with 14-day retention.

Develop

uv sync --dev
uv run pytest
uv run ruff check .
uv run pyright

License

MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ideahub_mcp-0.2.1.tar.gz (93.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ideahub_mcp-0.2.1-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file ideahub_mcp-0.2.1.tar.gz.

File metadata

  • Download URL: ideahub_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 93.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ideahub_mcp-0.2.1.tar.gz
Algorithm Hash digest
SHA256 229af37fdcafdf8a1fac9febfc560392e6532b9dae89908b4fd5d96d86600e61
MD5 61871e354e140263eda456a62f966539
BLAKE2b-256 2af80a846d9ea8dc27683989add6bc5dafdd667a2c36be39d5b2ba1efd8671ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for ideahub_mcp-0.2.1.tar.gz:

Publisher: publish.yml on CobraChickenAI/ideahub-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ideahub_mcp-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: ideahub_mcp-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 31.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ideahub_mcp-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 57110303bc10d3d2b76a61b524a224df9b264f810f80cfc718104df5bbd3ab6c
MD5 e359cedf7882ebdca0ac212dc7d97f57
BLAKE2b-256 61735e934cea7882b6ca79a57d99d58278e95bffc5dea4f08007ac9a14d155af

See more details on using hashes here.

Provenance

The following attestation bundles were made for ideahub_mcp-0.2.1-py3-none-any.whl:

Publisher: publish.yml on CobraChickenAI/ideahub-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page