squatch-harbor-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@squatch-harbor-mcpsearch harbor for when I discussed authentication"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-mcpRequires 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 |
| Index your sessions (incremental; run first). |
| Top matches — session, date, role, snippet. |
| Index size + date range. |
Local-only. Index lives at ~/.harbor/harbor-mcp.db. Part of the Squatch system.
Available Tools
3 toolsharbor_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.
| Name | Required | Description | Default |
|---|---|---|---|
| sessions_dir | No | ||
| rebuild | No |
TDQS
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.
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.
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.
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.
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.
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_searchA
Search your indexed Claude history for past work ('when did I…', 'how did we solve…'). Returns the top matches with session, date, role, and a snippet. Run harbor_ingest first.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| k | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description bears full burden. It reasonably discloses the tool's behavior: it returns top matches with session, date, role, and snippet. It mentions the dependency on harbor_ingest, but could further clarify what happens if no data is indexed (e.g., empty results).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise at two sentences, front-loading the purpose. Every sentence adds value. Could be slightly more structured (e.g., separate prerequisite note), but overall efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple tool with an output schema, the description covers the main functionality and return fields. It does not discuss edge cases, pagination, or ordering of results, but is adequate for a search tool with clear scope.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description should fully explain parameters. However, it does not elaborate on the 'query' or 'k' parameters beyond their names. The description mentions 'top matches' which weakly hints at 'k', but provides no guidance on format or behavior.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool searches indexed Claude history for past work, specifying the verb 'search' and the resource 'indexed Claude history'. It mentions returning top matches with details, but does not explicitly differentiate from the sibling tool 'harbor_stats', which could be another retrieval tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear usage context: use to find past work by query. It includes a crucial prerequisite: 'Run harbor_ingest first', which guides the agent on correct sequencing. However, it does not specify when not to use this tool or suggest alternatives among 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.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
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.
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.
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.
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.
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.
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.
3 tool updates
v0.1.0- First observed
harbor_ingest - First observed
harbor_search - First observed
harbor_stats
TDQS
Each tool serves a unique purpose: ingest indexes files, search queries the index, and stats reports index metadata. No functional overlap.
All tools follow a consistent 'harbor_verb' pattern (harbor_ingest, harbor_search, harbor_stats), using snake_case and clear verbs.
With 3 tools, the set is minimal but perfectly scoped for the domain: index creation, querying, and status checking. No unnecessary tools.
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
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
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Hosted MCP memory: save sessions/decisions once, search from Claude, Cursor, ChatGPT. EU-hosted FTS.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server for browsing, searching, exporting, and backing up your Cursor AI chat history directly into Claude via natural language.811332MIT
- AlicenseNot gradedqualityCmaintenanceA powerful MCP server that extracts, stores, searches, and analyzes Claude.ai conversations with SQLite database, semantic search, and multiple export formats including Obsidian and PDF.1MIT
- AlicenseAqualityDmaintenanceA 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.1514MIT
- AlicenseNot gradedqualityDmaintenanceA local MCP server that indexes and searches your Claude Code conversation history with both keyword and semantic search, fully private and running locally.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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