starlog-mcp

starlog-mcp

STARLOG is a documentation workflow MCP server for Claude Code that manages project rules, debug diaries with GitHub issue integration, and session tracking for context continuity.

Category
Visit Server

README

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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured