1. Conduid
  2. Healthcare
  3. ClaudeSharp
MCP server · Healthcare

ClaudeSharp

A native Claude Code alternative built in C#/.NET with Terminal.Gui TUI. Features: streaming agent loop, 11 built-in tools, MCP server integration, SQLite long-term memory with FTS5, hooks and skills plugin system, permission dialogs, and cross-platform shell support.

Unclaimed healthcare
34Low

Scored 4 months ago · breakdown

About ClaudeSharp

ClaudeSharp is an MCP server in the Healthcare category: a native Claude Code alternative built in C#/.NET with Terminal.Gui TUI. Features: streaming agent loop, 11 built-in tools, MCP server integration, SQLite long-term memory with FTS5, hooks and skills plugin system, permission dialogs, and cross-platform shell support. It has been installed 0 times through Conduid.

Install

Clone
git clone https://github.com/hmennen90/ClaudeSharp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about ClaudeSharp

Powered by Claude · Grounded in docs

I know everything about ClaudeSharp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • ·Scoped permissionsNot checked yet.

README

ClaudeSharp

A native Claude Code alternative built in C#/.NET with Terminal UI, MCP support, and plugin system.

Open source under MIT license.

Install

# Option 1: dotnet tool (recommended, requires .NET 10 SDK)
dotnet tool install -g ClaudeSharp

# Option 2: Standalone binary (no .NET required)
# Download from GitHub Releases: https://github.com/hmennen90/ClaudeSharp/releases

Features

  • Full agent loop with streaming responses and tool-call chaining
  • 11 built-in tools: ReadFile, WriteFile, EditFile, Glob, Grep, Shell, ListDirectory + 4 Memory tools
  • MCP server integration — compatible with Claude Code .mcp.json config
  • Plugin system — hooks (PreToolUse/PostToolUse) and skills (SKILL.md slash commands)
  • Terminal UI via Terminal.Gui v2 with chat view, input, status bar
  • Permission system — file writes and shell commands require user confirmation
  • Long-term memory — SQLite-based memory with FTS5 full-text search
  • 3-layer memory retrieval — token-efficient search, timeline, details pattern
  • Slash commands — /help, /model, /tools, /clear, /cost, /quit + custom skills
  • Config files — ~/.claudesharp/config.json and project-level .claudesharp.json
  • Context window management — auto-truncation when approaching limits
  • Cross-platform — PowerShell on Windows, bash/zsh on Unix

Quick Start

# Set your API key
export ANTHROPIC_API_KEY=sk-ant-...          # Unix
$env:ANTHROPIC_API_KEY = "sk-ant-..."        # PowerShell

# Run
claudesharp                                   # if installed via dotnet tool
claudesharp --model=claude-opus-4-20250514   # with specific model
claudesharp --dir=C:\Projects\MyApp           # with working directory

Usage

dotnet run --project src/ClaudeSharp.Tui [options]

Options:
  --model=<model>    Claude model to use (default: claude-sonnet-4-20250514)
  --dir=<path>       Working directory

Slash Commands

Command Description
/help Show available commands
/model Switch Claude model
/clear Clear conversation history
/cost Show session token usage
/quit Exit ClaudeSharp
Esc Cancel current request

Built-in Tools

Tool Description
ReadFile Read files with line numbers
WriteFile Create/overwrite files
EditFile Exact string replacement
Glob Find files by pattern
Grep Regex search in files
Shell Execute shell commands
ListDirectory List directory contents
MemorySearch Search long-term memory
MemoryStore Save observations to memory
MemoryTimeline Chronological context
MemoryGetDetails Full memory details

Configuration

Create ~/.claudesharp/config.json:

{
  "model": "claude-sonnet-4-20250514",
  "maxTokens": 8192,
  "shell": "pwsh",
  "shellTimeoutSeconds": 120,
  "maxContextTokens": 180000
}

Or project-level .claudesharp.json in your working directory.

Priority: CLI args > env vars > project config > global config

Architecture

ClaudeSharp/
├── src/
│   ├── ClaudeSharp.Core/      # Agent loop, tools, models (no UI deps)
│   ├── ClaudeSharp.Memory/    # SQLite + FTS5 long-term memory
│   ├── ClaudeSharp.Tui/       # Terminal.Gui v2 interface
│   └── ClaudeSharp.Cli/       # Headless mode (planned)
└── tests/
    └── ClaudeSharp.Core.Tests/

MCP Server Integration

ClaudeSharp connects to MCP servers using the same config format as Claude Code.

Create .mcp.json in your project directory:

{
  "mcpServers": {
    "my-server": {
      "command": "npx",
      "args": ["-y", "@some/mcp-server"],
      "env": {}
    }
  }
}

MCP tools are auto-discovered and registered as mcp_<server>_<tool>. Use /tools to see all registered tools.

Config locations: .mcp.json (project), ~/.claudesharp/mcp.json (global)

Plugin System

Hooks

Hooks run shell commands before/after tool execution. Configure in settings.json:

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Shell",
        "hooks": [
          {
            "type": "command",
            "command": "echo 'Shell command about to run'",
            "timeout": 10
          }
        ]
      }
    ]
  }
}

Config locations: .claudesharp/settings.json, .claude/settings.json (Claude Code compatible)

Supported events: SessionStart, SessionEnd, PreToolUse, PostToolUse, UserPromptSubmit, Stop

Skills

Custom slash commands defined as SKILL.md files:

~/.claudesharp/skills/my-skill/SKILL.md
.claude/skills/my-skill/SKILL.md        # Claude Code compatible

SKILL.md format:

---
name: my-skill
description: What this skill does
argument-hint: "[query]"
user-invocable: true
---

Your prompt content here. Use $ARGUMENTS for user input.

Invoke with /my-skill some arguments.

Memory System

Built-in long-term memory using SQLite with FTS5 full-text search.

  • Per-project isolation — memories are scoped to the working directory
  • 3-layer retrieval — search (lightweight index), timeline (context), details (full content)
  • Auto-context — recent memories are injected into the system prompt at startup
  • Storage: ~/.claudesharp/memory/claudesharp.db

License

MIT

README mirrored from the source repository 4 months ago. The original is authoritative.

Questions

About ClaudeSharp

How do I install ClaudeSharp?

Run git clone https://github.com/hmennen90/ClaudeSharp, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is ClaudeSharp safe to use with an AI agent?

Its trust score is 34 out of 100 (low). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is ClaudeSharp still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.