Skip to main content

Part of STARSYSTEM

STARLOG MCP

STARLOG (Session, Task, and Activity Record LOG) is a comprehensive documentation workflow system designed for Claude Code integration via the Model Context Protocol (MCP).

Overview

STARLOG provides three integrated documentation types:

  • RULES: Project guidelines with brain-agent enforcement
  • DEBUG_DIARY: Real-time development tracking with GitHub issue integration
  • STARLOG: Session history with START/END markers for context continuity

Features

🏗️ Project Initialization

  • Automated project setup with registry creation
  • Integrated starlog.hpi file generation
  • Context-aware project configuration

📏 Rules System

  • Hierarchical rule management with categories and priorities
  • Brain-agent enforcement integration
  • Dynamic rule validation and compliance checking

📓 Debug Diary

  • Real-time development issue tracking
  • Direct GitHub Issues API integration
  • Automatic bug report and fix workflow

📋 Session Management

  • Comprehensive session START/END tracking
  • Goal-oriented work sessions with outcomes
  • Historical context preservation

🧭 HPI (Human-Programming Interface) System

  • Automatic context assembly from latest session + debug diary
  • Project orientation for seamless context switching
  • Documentation-driven development workflow

Installation

[Installation instructions pending PyPI publication]

Quick Start

Initialize a STARLOG Project

from starlog_mcp import Starlog

starlog = Starlog()
result = starlog.init_project("my_project", "My Project Name")
print(result)

Add Project Rules

result = starlog.add_rule("Always write tests", "my_project", "testing")
print(result)

Start a Development Session

session_data = {
    "session_title": "Feature Implementation",
    "start_content": "Implementing user authentication",
    "context_from_docs": "Based on security requirements doc",
    "session_goals": ["Add login", "Add logout", "Add password reset"]
}
result = starlog.start_starlog(session_data, "my_project")
print(result)

Get Project Context

context = starlog.orient("my_project")
print(context)  # Complete project context for AI assistance

MCP Server Usage

STARLOG includes a built-in MCP server for Claude Code integration:

starlog-server

Environment Variables

  • HEAVEN_DATA_DIR: Directory for STARLOG data storage (default: /tmp/heaven_data)
  • OPENAI_API_KEY: Required for brain-agent rule enforcement

MCP Configuration

Add to your Claude Code configuration:

{
  "mcpServers": {
    "starlog": {
      "command": "starlog-server",
      "env": {
        "HEAVEN_DATA_DIR": "/path/to/your/data",
        "OPENAI_API_KEY": "your-openai-key"
      }
    }
  }
}

Available MCP Tools

  • init_project(path, name) - Initialize new STARLOG project
  • rules(path) - View all project rules
  • add_rule(rule, path, category) - Add new rule
  • update_debug_diary(diary_entry, path) - Add debug diary entry
  • view_debug_diary(path) - View debug diary
  • start_starlog(session_data, path) - Start new session
  • view_starlog(path) - View session history
  • end_starlog(session_id, end_content, path) - End session
  • orient(path) - Get complete project context
  • check(path) - Check project status

Development

Running Tests

pytest tests/

Development Installation

pip install -e .[dev]

Architecture

STARLOG uses the HEAVEN framework's registry system for persistent storage and provides a clean FastMCP-based server implementation for seamless Claude Code integration.

Registry Pattern

Data is stored in isolated registries per project:

  • {project_name}_rules - Project rules with enforcement metadata
  • {project_name}_debug_diary - Development tracking entries
  • {project_name}_starlog - Session history with goals and outcomes

License

MIT License - see LICENSE file for details.

Contributing

Contributions welcome! Please see CONTRIBUTING.md for guidelines.

Metadata

Release files for starlog-mcp 0.1.68

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for starlog-mcp 0.1.68
File Size Uploaded Provenance
starlog_mcp-0.1.68.tar.gz 2.3 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for starlog-mcp 0.1.68
File Interpreter ABI Platform
starlog_mcp-0.1.68-py3-none-any.whl Python 3 none any Details

Total release size: 2.3 MB

Release files / starlog_mcp-0.1.68.tar.gz

Download URL starlog_mcp-0.1.68.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
fe53e41a1cf8e9a244f72247a014737e0a2810c7e694567e926ed10101bae05e
BLAKE2b-256 checksum
How to use checksums
b9ba9417ab1bc4159ce77889f1d59222a5955007f1cbba32ea5e3f1ec80eda80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / starlog_mcp-0.1.68-py3-none-any.whl

Download URL starlog_mcp-0.1.68-py3-none-any.whl
Size 42.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d109f9df4fa19619226923216214f1c4cde1108918dabbed3ad6c7f720f592f
BLAKE2b-256 checksum
How to use checksums
2d40066266fdcd91d85e796085fa145b92d287269644b801092e33faaed1ff3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for starlog-mcp 0.1.68

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page