Skip to main content

MCP server for local-first AI architectural planning using local LLMs

Project description

fitz-graveyard

PyPI version Python versions License: MIT Tests

MCP server for overnight AI architectural planning using local LLMs.

Features

  • Local-first planning with Ollama (Qwen Coder Next 80B/32B)
  • Five-stage pipeline: context, architecture, design, roadmap, risk
  • SQLite job queue with crash recovery and checkpoint resume
  • KRAG-powered codebase context via fitz-ai integration
  • Per-section confidence scoring with optional API review
  • Cross-platform: Windows, macOS, Linux

Prerequisites

  • Python 3.10+
  • Ollama installed and running (https://ollama.com)
  • Qwen model pulled:
    ollama pull qwen2.5-coder:32b
    

Installation

pip install fitz-graveyard

For API review feature:

pip install "fitz-graveyard[api-review]"

Usage - MCP Server (Claude Code)

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "fitz-planner": {
      "command": "fitz-graveyard"
    }
  }
}

Restart Claude Desktop, then use planning tools directly in conversations.

Available Tools

Tool Description
create_plan Queue a new planning job
check_status Check job progress
get_plan Retrieve completed plan
list_plans List all planning jobs
retry_job Retry a failed job
confirm_review Approve API review after seeing cost
cancel_review Skip API review, finalize plan

Configuration

Default configuration location:

  • Windows: %APPDATA%\fitz-graveyard\config.yaml
  • macOS: ~/Library/Application Support/fitz-graveyard/config.yaml
  • Linux: ~/.config/fitz-graveyard/config.yaml

Key settings (YAML):

llm:
  provider: ollama
  model: qwen2.5-coder:32b
  base_url: http://localhost:11434

planning:
  confidence_threshold: 0.75
  max_retries: 3
  checkpoint_interval: 60

api_review:
  provider: anthropic  # Optional: for confidence scoring
  model: claude-opus-4
  enabled: false

Development

git clone https://github.com/yafitzdev/fitz-graveyard.git
cd fitz-graveyard
pip install -e ".[dev]"
pytest

Architecture

fitz_graveyard/
├── server.py           # MCP server entry point
├── engine/             # Planning orchestration
│   ├── stages/         # Five-stage pipeline
│   └── checkpoints/    # Crash recovery
├── queue/              # SQLite job queue
├── context/            # fitz-ai KRAG integration
├── review/             # Optional API review
└── config/             # Configuration management

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

fitz_graveyard-0.1.0.tar.gz (62.1 kB view details)

Uploaded Source

Built Distribution

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

fitz_graveyard-0.1.0-py3-none-any.whl (88.6 kB view details)

Uploaded Python 3

File details

Details for the file fitz_graveyard-0.1.0.tar.gz.

File metadata

  • Download URL: fitz_graveyard-0.1.0.tar.gz
  • Upload date:
  • Size: 62.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for fitz_graveyard-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0626a114f0ccf950e18c9236fd08b435e91a634536cfebf129fd10dc9fcd6fb8
MD5 e6cfaf3e5c44a11e7eee1429f781520d
BLAKE2b-256 8a627165cc725e808cd4e20930bee6689d960cbc711259f56bd58a47cc898529

See more details on using hashes here.

File details

Details for the file fitz_graveyard-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fitz_graveyard-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 88.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for fitz_graveyard-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af64ba667d4dacb9bdda04329511fed2d828aa0eae1478bca17a538198c7d282
MD5 feb6ed6e3c40ba3b6360a11bd7582ba5
BLAKE2b-256 1ed51309aeb26370a4cc2ad086937c1e1f688af828466d0007c01dce19b6bb04

See more details on using hashes here.

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