Skip to main content
Glama
squatch-c-c

squatch-harbor-mcp

by squatch-c-c

squatch-harbor-mcp

Search your own past Claude sessions, locally. Indexes ~/.claude/projects/*.jsonl into a local SQLite FTS5 file and searches it — "when did I set up auth?", "how did we solve X?". No cloud, nothing leaves your machine. Stdlib only (no numpy). An MCP server, so it works in Claude Desktop (Chat) and Claude Code.

Run it (zero install — uvx fetches + runs)

uvx --from git+https://github.com/squatch-c-c/squatch-harbor-mcp squatch-harbor-mcp

Requires uv (curl -LsSf https://astral.sh/uv/install.sh | sh).

Related MCP server: MCP Claude Context Server

Add to Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "harbor": { "command": "uvx", "args": ["--from", "git+https://github.com/squatch-c-c/squatch-harbor-mcp", "squatch-harbor-mcp"] }
  }
}

Restart Claude, then: "ingest my harbor, then search it for when I set up the egress guard."

Tools

Tool

What it does

harbor_ingest(sessions_dir?, rebuild?)

Index your sessions (incremental; run first).

harbor_search(query, k=8)

Top matches — session, date, role, snippet.

harbor_stats()

Index size + date range.

Local-only. Index lives at ~/.harbor/harbor-mcp.db. Part of the Squatch system.

Available Tools

3 tools
harbor_ingestA

Index your local Claude session transcripts so you can search them. Incremental by default (only re-reads changed files); pass rebuild=true to start fresh. Defaults to ~/.claude/projects.

ParametersJSON Schema
NameRequiredDescriptionDefault
sessions_dirNo
rebuildNo

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Without annotations, the description carries full burden. It explains incremental default, rebuild option, and default directory. Missing details on side effects or whether rebuild destroys old index, but 'start fresh' is clear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences that are front-loaded with purpose and follow with key details. No fluff or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Description is complete for a simple tool without output schema. It covers purpose, behavior, and defaults. Could mention that results can be searched later, but siblings imply that.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 0% description coverage, so the description adds essential meaning. It explains the default for sessions_dir and the effect of rebuild=true, covering both parameters effectively.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that the tool indexes local Claude session transcripts for searching. It distinguishes itself from sibling tools like harbor_search and harbor_stats by focusing on ingestion.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains when to use the tool (indexing transcripts) and provides details on incremental vs. rebuild behavior. However, it does not explicitly state when not to use it or compare directly to siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

harbor_statsA

How big the harbor index is (message count, file count, date range) — or that it's not built yet.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description must disclose behavioral traits. It mentions the tool may indicate 'not built yet', which is a useful conditional behavior, but lacks details on caching, performance implications, or authorization needs. Minimal disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, concise and front-loaded with the key information. Every word contributes to understanding the tool's output.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

While the description covers the main purpose, it lacks details on the return format or structure. Since no output schema exists, more information about the response shape would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters exist, and schema coverage is 100%. Baseline for zero parameters is 4. Description adds no param info, but no missing information since there are none.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns size metrics of the harbor index: message count, file count, date range, or indicates if not built. It distinguishes from sibling tools harbor_ingest (ingestion) and harbor_search (search).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for checking index status and size, but does not explicitly provide when to use or alternatives. No exclusions or when-not-to-use guidance is given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 3 tool updatesv0.1.0
    • First observedharbor_ingest
    • First observedharbor_search
    • First observedharbor_stats

TDQS

A4.2/5.0
Disambiguation5/5

Each tool serves a unique purpose: ingest indexes files, search queries the index, and stats reports index metadata. No functional overlap.

Naming Consistency5/5

All tools follow a consistent 'harbor_verb' pattern (harbor_ingest, harbor_search, harbor_stats), using snake_case and clear verbs.

Tool Count5/5

With 3 tools, the set is minimal but perfectly scoped for the domain: index creation, querying, and status checking. No unnecessary tools.

Completeness4/5

The tool surface covers the full lifecycle: ingest (create/update), search (read), and stats (monitor). A tool to delete or clear the index is not provided but can be achieved via rebuild flag, so minor gap.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    MCP server for browsing, searching, exporting, and backing up your Cursor AI chat history directly into Claude via natural language.
    8
    113
    32
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A zero-dependency MCP server that enables searching and reading local Claude Code and Codex chat sessions, supporting full-text search, grep, and knowledge indexing from chat history.
    15
    14
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/squatch-c-c/squatch-harbor-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server