Package Exports
- regen-koi-mcp
- regen-koi-mcp/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (regen-koi-mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
π± Regen KOI MCP Server
Access Regen Network's Knowledge Organization Infrastructure (KOI) through Model Context Protocol (MCP) tools in Claude Desktop, VSCode, and other MCP-compatible clients.
π Quick Start
One-Line Install (Easiest!)
curl -fsSL https://raw.githubusercontent.com/gaiaaiagent/regen-koi-mcp/main/install.sh | bashThis automatically configures Claude Desktop and Claude Code CLI. Just restart and you're done! π
Quick Test: After restarting, open Claude and ask: "What repositories are indexed in KOI?" to verify the tools are working.
Option 1: NPM (Recommended - Auto-Updates)
No installation needed! Just configure Claude Desktop with:
{
"mcpServers": {
"regen-koi": {
"command": "npx",
"args": ["-y", "regen-koi-mcp@latest"],
"env": {
"KOI_API_ENDPOINT": "https://regen.gaiaai.xyz/api/koi"
}
}
}
}Benefits:
- β Automatic updates - get new features without doing anything
- β No git clone, no build, no maintenance
- β Always uses the latest version
- β Works immediately
Config file locations:
- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Then restart Claude Desktop and you're done! π
Quick Test: Ask Claude: "What repositories are indexed in KOI?" to verify the tools are working.
For existing git users: See the migration section below for a simple one-line script to switch to npx.
π Migrating from Git Installation
If you previously installed via git clone, switch to npx for automatic updates:
curl -fsSL https://raw.githubusercontent.com/gaiaaiagent/regen-koi-mcp/main/migrate.sh | bashWhat this does:
- β Backs up your existing config
- β
Updates
command: "node"βcommand: "npx" - β
Updates
argsto useregen-koi-mcp@latest - β Configures Claude Code CLI too
- β You get automatic updates forever!
After migration, you can safely delete your old git clone directory.
Option 2: Local Development (Git Clone)
For contributors or local development only:
git clone https://github.com/gaiaaiagent/regen-koi-mcp
cd regen-koi-mcp
npm install
npm run buildThen manually configure your MCP client to point to the local dist/index.js.
Requirements:
- Node.js 16+: Download here
- Python 3.8+: Download here - Optional (only for advanced local digest generation)
π Deployment Options
π Option 1: Hosted API (Default - Recommended)
By default, the MCP client connects to the hosted KOI API at https://regen.gaiaai.xyz/api/koi. This works out of the box - no additional setup required!
π₯οΈ Option 2: Self-Hosted API Server
Want to run your own API server with direct database access? See ARCHITECTURE.md for setup instructions.
ποΈ Option 3: Full Self-Hosted Pipeline
Want complete control including data collection? You'll need:
- This repo (MCP client + API server)
- koi-sensors - Data collection from Discourse, Ledger, etc.
- koi-processor - Batch processing pipeline
See ARCHITECTURE.md for detailed setup instructions and architecture overview.
π Authentication (Optional - Team Members Only)
Public Data (No Auth Required)
KOI provides access to extensive public Regen Network knowledge:
- β Regen Ledger code and documentation
- β Regen Network forum discussions
- β Public GitHub repositories
- β Website content and blogs
Most users don't need authentication - just install and start querying!
Internal Documentation (Regen Network Team)
Regen Network team members with @regen.network emails can optionally authenticate to access additional internal documentation.
To authenticate:
User: "Please use the regen_koi_authenticate tool"
MCP: Opening browser for authentication...
[Browser opens to Google OAuth]
User: [Log in with yourname@regen.network]
[Grant permissions: email, profile]
MCP: β
Authentication successful!
Authenticated as: yourname@regen.networkAfter authentication:
- Queries automatically include internal documentation
- Token is saved on the server (not your machine)
- No need to re-authenticate unless token expires (~7 days)
What Permissions Are Requested
The OAuth flow requests minimal, identity-only permissions:
- β
openid- Verify your identity - β
email- Confirm you're @regen.network - β
profile- Basic profile info
NOT requested:
- β Access to your personal Drive files
- β Access to your Gmail
- β Any write/modification permissions
The service account (not your OAuth token) handles all data access.
Example: Team Member Workflow
# First time - authenticate
User: "Use regen_koi_authenticate to authenticate me"
MCP: Opening browser...
β
Authenticated as: alice@regen.network
# Now all queries include internal docs
User: "How do I register a carbon project?"
MCP: Found 23 results from multiple sources:
- Project Registration Guide (2024)
- Registry Standards Documentation
- Carbon Methodology Overview
...Token Security
Your authentication tokens are:
- π Stored server-side only (never on your machine)
- π Encrypted in PostgreSQL database
- π User-specific (never shared between users)
- π Automatically refreshed when needed
Troubleshooting
"Authentication window opened but nothing happened"
- Check if your browser blocked the popup
- Try manually clicking the URL shown in the terminal
"Access denied" after logging in
- Ensure you're using your
@regen.networkemail (not personal Gmail) - Contact your Workspace admin if you don't have access
Still having issues?
- Open an issue: https://github.com/gaiaaiagent/regen-koi-mcp/issues
π― What This Does
This MCP server gives AI assistants access to Regen Network's comprehensive knowledge base with 15,000+ documents about:
- Carbon credits and ecological assets
- Regenerative agriculture practices
- Blockchain and Web3 sustainability
- Climate action and environmental data
- Regen Registry credit classes
Note: This MCP server connects to our hosted KOI API at https://regen.gaiaai.xyz/api/koi (behind HTTPS via Nginx), so you don't need to run any infrastructure locally.
π Quick Start: Example Queries
Once you've installed the MCP server, try these queries in Claude to explore what's available:
π Discovery: What's Indexed?
"What repositories are indexed in the KOI knowledge base?"
"What types of code entities exist?"
"Show me statistics about what's in the knowledge base"What you'll get: The system has indexed 5 repositories (regen-ledger, regen-web, koi-sensors, and more) with 26,768 code entities including Methods, Functions, Structs, and Interfaces.
π» Code Exploration: Find Specific Code
"Search for functions containing 'keeper' in regen-ledger"
"Find all code related to MsgCreateBatch"
"What Structs exist in the ecocredit module?"
"Show me all Interface types in regen-ledger"
"Search for retirement-related code"What you'll get: Direct links to code entities with file paths and signatures. The graph contains Methods, Functions, Structs, and Interfaces extracted via tree-sitter AST parsing.
π Documentation: Understanding the System
"Explain the ecocredit module architecture"
"What's the tech stack for regen-web?"
"Search GitHub docs for information about credit classes"
"Get an overview of the regen-ledger repository"What you'll get: Architectural explanations, technology choices, and relevant documentation from GitHub repositories.
π¬ Advanced: Graph Traversal
"What functions call CreateBatch?"
"What does the NewKeeper function call?"
"Find orphaned code that's never called"
"Show me the call graph for MsgRetire"What you'll get: Call graph traversal showing function relationships (CALLS edges), orphan detection, and code dependency analysis.
π Knowledge Base: Recent Activity
"Generate a weekly digest of Regen Network discussions"
"Search for recent discussions about carbon credits from the past week"
"Find documentation about basket creation from 2024"What you'll get: Summaries of community discussions, forum posts, and activity with source citations.
π¦ Available Tools
Knowledge Base Search
| Tool | Description | Key Inputs |
|---|---|---|
search_knowledge |
Hybrid search (vectors + graph with RRF) | query (string), limit (1β20, default 5), published_from (YYYYβMMβDD), published_to (YYYYβMMβDD), include_undated (bool, default false) |
hybrid_search |
Intelligent search routing (auto-detects entity vs conceptual queries) | query (string), limit (1β50, default 10) |
get_stats |
Knowledge base statistics | detailed (boolean) |
generate_weekly_digest |
Generate weekly digest SUMMARY of Regen Network activity | start_date (YYYY-MM-DD, default: 7 days ago), end_date (YYYY-MM-DD, default: today), save_to_file (bool, default false), output_path (string), format ('markdown' or 'json', default: 'markdown') |
get_notebooklm_export |
Get FULL NotebookLM export with complete forum posts, Notion pages, and source material | save_to_file (bool, default false), output_path (string) |
Code Knowledge Graph
| Tool | Description | Key Inputs |
|---|---|---|
query_code_graph |
Query relationships between Keepers, Messages, Events, and Documentation | query_type (enum: keeper_for_msg, msgs_for_keeper, docs_mentioning, entities_in_doc, related_entities), entity_name (string), doc_path (string) |
GitHub Documentation
| Tool | Description | Key Inputs |
|---|---|---|
search_github_docs |
Search Regen GitHub repos for documentation and technical content | query (string), repository (optional: regen-ledger, regen-web, regen-data-standards, regenie-corpus), limit (1-20, default 10) |
get_repo_overview |
Get structured overview of a Regen repository | repository (enum: regen-ledger, regen-web, regen-data-standards, regenie-corpus) |
get_tech_stack |
Get technical stack information for Regen repositories | repository (optional, omit to show all repos) |
Authentication (Team Members Only)
| Tool | Description | Key Inputs |
|---|---|---|
regen_koi_authenticate |
Authenticate with @regen.network email to access internal documentation | None (opens browser for OAuth login) |
π€ What Can I Ask? User Guide
This table helps you understand which tool to use for different tasks. Just ask Claude in natural language - it will automatically use the right tool.
| When You Want To... | Ask Claude | Tool Used |
|---|---|---|
| Discover what's indexed | ||
| See what repositories are available | "What repositories are indexed?" | list_repos |
| See what types of code entities exist | "What entity types are available?" | list_entity_types |
| Get comprehensive statistics | "Show me statistics about the knowledge base" | get_entity_stats |
| Find specific code | ||
| Find all entities of a type | "Show me all Keepers in regen-ledger" | find_by_type |
| Search for entities by name | "Find entities related to MsgCreateBatch" | search_entities |
| Find related code entities | "What's related to the ecocredit Keeper?" | related_entities |
| Understand relationships | ||
| Find which Keeper handles a Message | "Which Keeper handles MsgCreateBatch?" | keeper_for_msg |
| Find what Messages a Keeper handles | "What messages does the ecocredit Keeper handle?" | msgs_for_keeper |
| Find what documentation mentions an entity | "What docs mention MsgRetire?" | docs_mentioning |
| Find entities in a file | "What entities are in keeper.go?" | entities_in_doc |
| Navigate by modules | ||
| List all modules | "What modules exist in regen-ledger?" | list_modules |
| Get details about a module | "Tell me about the ecocredit module" | get_module |
| Search for modules | "Find modules related to baskets" | search_modules |
| Find entities in a module | "What entities are in the ecocredit module?" | module_entities |
| Search documentation | ||
| Search GitHub docs | "Search for documentation about credit classes" | search_github_docs |
| Get repository overview | "Give me an overview of regen-web" | get_repo_overview |
| Understand tech stack | "What's the tech stack for regen-ledger?" | get_tech_stack |
| Search everything (hybrid) | ||
| Semantic search across code and docs | "How does credit retirement work?" | hybrid_search |
| Advanced filtering by date | "Find discussions about tokens from last week" | search_knowledge |
| Get activity summaries | ||
| Generate weekly digest summary | "Create a weekly digest of Regen activity" | generate_weekly_digest |
| Get full content for NotebookLM | "Get the full NotebookLM export with all forum posts" | get_notebooklm_export |
Query Type Reference
The query_code_graph tool supports these query types:
Discovery
list_repos- Show all indexed repositories with entity countslist_entity_types- Show all entity types (Function, Class, Keeper, Message, etc.) with countsget_entity_stats- Comprehensive statistics: entities by type, language, repositorylist_modules- Show all modules across repositories
Entity Queries
find_by_type- Find all entities of a specific type (requiresentity_typeparameter)search_entities- Search entities by name pattern (requiresentity_nameparameter)related_entities- Find entities related to a given entity (requiresentity_nameparameter)
Relationship Queries
keeper_for_msg- Find which Keeper handles a Message (requiresentity_nameparameter)msgs_for_keeper- Find what Messages a Keeper handles (requiresentity_nameparameter)docs_mentioning- Find documentation mentioning an entity (requiresentity_nameparameter)entities_in_doc- Find entities defined in a document (requiresdoc_pathparameter)
Module Queries
get_module- Get details about a specific module (requiresmodule_nameparameter)search_modules- Search modules by keyword (requiresentity_nameparameter)module_entities- Get entities in a module (requiresmodule_nameparameter)module_for_entity- Find which module contains an entity (requiresentity_nameparameter)
What's Currently Indexed
Repositories: 5 total
regen-ledger: 18,619 entities (Go, Cosmos SDK modules)regen-web: 3,164 entities (TypeScript/React frontend)koi-sensors: 1,250 entities (Python data collection)regen-koi-mcp: 688 entities (TypeScript MCP server)regen-data-standards: 6 entities (JSON schemas)
Entity Types: 10 types
- Function, Class, Interface, Method, Type
- Keeper, Message, Query, Event (Cosmos SDK specific)
- Module, Repository
Total: 23,728 code entities
ποΈ Architecture
This repo contains everything you need to run a complete KOI MCP setup:
regen-koi-mcp/
βββ src/ # MCP client (connects to API)
βββ server/ # KOI API server (FastAPI)
β βββ src/ # API endpoints
β βββ setup.sh # Server setup
β βββ start.sh # Start server
β βββ stop.sh # Stop server
βββ python/ # Weekly digest generator
βββ src/ # Digest logic
βββ config/ # Configuration
βββ setup.sh # Python setupTwo modes:
- Client-only (default): MCP client β Hosted API
- Self-hosted: MCP client β Your local API β Your database
π» Supported Clients
Claude Desktop
One-line install:
curl -fsSL https://raw.githubusercontent.com/gaiaaiagent/regen-koi-mcp/main/install.sh | bashOr manually add to config (~/Library/Application Support/Claude/claude_desktop_config.json on Mac, ~/.config/Claude/claude_desktop_config.json on Linux):
{
"mcpServers": {
"regen-koi": {
"command": "npx",
"args": ["-y", "regen-koi-mcp@latest"],
"env": {
"KOI_API_ENDPOINT": "https://regen.gaiaai.xyz/api/koi"
}
}
}
}Claude Code CLI
Option 1: Use the automated installer (recommended)
curl -fsSL https://raw.githubusercontent.com/gaiaaiagent/regen-koi-mcp/main/install.sh | bashThis configures both Claude Desktop and Claude Code CLI with the correct environment variables.
Option 2: Manual installation
- Add the MCP server:
claude mcp add regen-koi npx -y regen-koi-mcp@latest- Configure the environment variable in your Claude Code settings file (
~/.claude/settings.jsonor similar):
{
"mcpServers": {
"regen-koi": {
"command": "npx",
"args": ["-y", "regen-koi-mcp@latest"],
"env": {
"KOI_API_ENDPOINT": "https://regen.gaiaai.xyz/api/koi"
}
}
}
}Verification: After installation, restart Claude Code and ask: "What repositories are indexed?" to verify the tools are working.
VS Code / VS Code Insiders
One-line install:
code --add-mcp '{"name":"regen-koi","command":"npx","args":["-y","regen-koi-mcp@latest"],"env":{"KOI_API_ENDPOINT":"https://regen.gaiaai.xyz/api/koi"}}'Or for VS Code Insiders:
code-insiders --add-mcp '{"name":"regen-koi","command":"npx","args":["-y","regen-koi-mcp@latest"],"env":{"KOI_API_ENDPOINT":"https://regen.gaiaai.xyz/api/koi"}}'Cursor
Via Settings:
- Open Cursor Settings
- Go to MCP section
- Click "Add new MCP Server"
- Enter:
- Name:
regen-koi - Command:
npx - Args:
-y regen-koi-mcp@latest - Env:
KOI_API_ENDPOINT=https://regen.gaiaai.xyz/api/koi
- Name:
Windsurf
Add to your Windsurf MCP config:
{
"mcpServers": {
"regen-koi": {
"command": "npx",
"args": ["-y", "regen-koi-mcp@latest"],
"env": {
"KOI_API_ENDPOINT": "https://regen.gaiaai.xyz/api/koi"
}
}
}
}Cline (VS Code Extension)
Install Cline from VS Code Marketplace, then add to Cline's MCP settings:
{
"mcpServers": {
"regen-koi": {
"command": "npx",
"args": ["-y", "regen-koi-mcp@latest"],
"env": {
"KOI_API_ENDPOINT": "https://regen.gaiaai.xyz/api/koi"
}
}
}
}Continue (VS Code Extension)
Install Continue from VS Code Marketplace, then add to Continue's config:
{
"mcpServers": {
"regen-koi": {
"command": "npx",
"args": ["-y", "regen-koi-mcp@latest"],
"env": {
"KOI_API_ENDPOINT": "https://regen.gaiaai.xyz/api/koi"
}
}
}
}Goose
Via Settings:
- Open Advanced settings
- Go to Extensions
- Add MCP server with:
- Command:
npx - Args:
-y regen-koi-mcp@latest - Env:
KOI_API_ENDPOINT=https://regen.gaiaai.xyz/api/koi
- Command:
Warp
Via Settings:
- Open Settings β AI β Manage MCP Servers
- Add new server
Or use slash command:
/add-mcp regen-koi npx -y regen-koi-mcp@latestAmp
One-line install:
amp mcp add regen-koi -- npx -y regen-koi-mcp@latestFactory
One-line install:
droid mcp add regen-koi "npx -y regen-koi-mcp@latest"Or use interactive UI with /mcp command.
Codex
One-line install:
codex mcp add regen-koi npx "-y regen-koi-mcp@latest"Or manually edit ~/.codex/config.toml:
[[mcp.servers]]
name = "regen-koi"
command = "npx"
args = ["-y", "regen-koi-mcp@latest"]
[mcp.servers.env]
KOI_API_ENDPOINT = "https://regen.gaiaai.xyz/api/koi"Opencode
Add to ~/.config/opencode/opencode.json:
{
"mcpServers": {
"regen-koi": {
"command": "npx",
"args": ["-y", "regen-koi-mcp@latest"],
"env": {
"KOI_API_ENDPOINT": "https://regen.gaiaai.xyz/api/koi"
}
}
}
}Kiro
Add to .kiro/settings/mcp.json:
{
"mcpServers": {
"regen-koi": {
"command": "npx",
"args": ["-y", "regen-koi-mcp@latest"],
"env": {
"KOI_API_ENDPOINT": "https://regen.gaiaai.xyz/api/koi"
}
}
}
}LM Studio
Via Settings:
- Open Program sidebar
- Go to MCP configuration
- Add server with npx command:
npx -y regen-koi-mcp@latest
Qodo Gen (VS Code / IntelliJ)
Via Chat Panel:
- Open Qodo Gen chat
- Click "Connect more tools"
- Add MCP server:
- Command:
npx - Args:
-y regen-koi-mcp@latest - Env:
KOI_API_ENDPOINT=https://regen.gaiaai.xyz/api/koi
- Command:
Gemini CLI
Add to Gemini CLI MCP config:
{
"mcpServers": {
"regen-koi": {
"command": "npx",
"args": ["-y", "regen-koi-mcp@latest"],
"env": {
"KOI_API_ENDPOINT": "https://regen.gaiaai.xyz/api/koi"
}
}
}
}Other MCP-Compatible Clients
Any MCP-compatible client can use this server with:
{
"command": "npx",
"args": ["-y", "regen-koi-mcp@latest"],
"env": {
"KOI_API_ENDPOINT": "https://regen.gaiaai.xyz/api/koi"
}
}π Environment Configuration
Create a .env file in the project root:
# Required: KOI API endpoint
KOI_API_ENDPOINT=https://regen.gaiaai.xyz/api/koi
# Optional: API key if your KOI server requires authentication
# KOI_API_KEY=your_api_key_here
# Graph + NLβSPARQL configuration (used internally by hybrid search)
JENA_ENDPOINT=http://localhost:3030/koi/sparql
CONSOLIDATION_PATH=/opt/projects/koi-processor/src/core/final_consolidation_all_t0.25.json
PATTERNS_PATH=/opt/projects/koi-processor/src/core/predicate_patterns.json
COMMUNITY_PATH=/opt/projects/koi-processor/src/core/predicate_communities.json
EMBEDDING_SERVICE_URL=http://localhost:8095
# OPENAI_API_KEY=your_key # Optional; template queries used when absentποΈ Development
# Run in development mode
npm run dev
# Build TypeScript
npm run build
# Clean build files
npm run cleanπ How Hybrid Graph Search Works
- Adaptive dualβbranch execution (internally via MCP):
- Focused: topβK predicates via embeddings + usage + community expansion
- Broad: entity/topic regex over all predicates
- Canonicalβaware filtering (keywords β
regx:canonicalPredicate) by default - Smart fallback: if canonical returns 0 results, retry broad without canonical to recover recall
- Results fused with Reciprocal Rank Fusion (RRF) for precision + recall
- Date filter support: when
published_from/published_toare provided, the vector and keyword branches are filtered serverβside. Ifinclude_undatedis true, undated docs are also included. The graph branch adds a date filter only when RDF statements includeregx:publishedAt(optional enrichment). - Naturalβlanguage recency detection: phrases like βpast weekβ, βlast monthβ, βlast 30 daysβ, βyesterdayβ, βtodayβ automatically set a date range when no explicit
published_from/published_toare provided.
Examples
Direct KOI API examples (useful for testing filters):
# Natural-language recency ("past week") β MCP parses this automatically,
# but you can also hit the KOI API directly for verification
curl -s http://localhost:8301/api/koi/query \
-H 'Content-Type: application/json' \
-d '{
"question": "what discussions about token design happened in the past week?",
"limit": 10
}' | jq '.results[0:3]'
# Explicit date range with include_undated=true
curl -s http://localhost:8301/api/koi/query \
-H 'Content-Type: application/json' \
-d '{
"question": "token design",
"limit": 10,
"filters": {
"date_range": { "start": "2025-10-09", "end": "2025-10-16" },
"include_undated": true
}
}' | jq '.results[0:3]'Within MCP, the search_knowledge tool accepts:
published_from/published_to(YYYY-MM-DD)include_undated(boolean) If you omit dates but include phrases like βpast weekβ, the MCP infers the date range automatically.
π Evaluation
Run the builtβin harness and inspect results:
node scripts/eval-nl2sparql.js- Persists JSON to
results/eval_*.jsonwith focused/broad sizes, union/overlap, latency, noise rate. - Current baseline: 100% queries answered, 0% noise, ~1.5 s average latency.
π Prerequisites
- Node.js 18 or higher
- Claude Desktop or compatible MCP client
- Internet connection (connects to hosted KOI API)
π οΈ Troubleshooting
"KOI API not accessible"
The setup connects to our hosted KOI API at https://regen.gaiaai.xyz/api/koi. If you see connection errors, check your internet connection or firewall settings.
"Tools not showing in Claude"
- Restart Claude Desktop after configuration
- Check the config file syntax is valid JSON
- Ensure the path to
index.jsis absolute
"Command not found"
Make sure Node.js is installed and in your PATH. The setup script uses node command.
"Connection error: localhost:8301" or "localhost:8910"
Cause: Claude caches MCP configurations in ~/.claude.json. If you previously ran a local dev server, it may have cached localhost URLs that override your current config.
Fix:
# 1. Check for cached localhost configs
grep -i "localhost.*8301\|localhost.*8910" ~/.claude.json
# 2. Backup your config
cp ~/.claude.json ~/.claude.json.backup
# 3. Replace localhost with public API
sed -i '' 's|http://localhost:8301/api/koi|https://regen.gaiaai.xyz/api/koi|g' ~/.claude.json
sed -i '' 's|http://localhost:8910/api/koi|https://regen.gaiaai.xyz/api/koi|g' ~/.claude.json
# 4. Restart Claude Code/DesktopPrevention: Always use https://regen.gaiaai.xyz/api/koi in MCP configs unless you're actively developing the API server locally.
π Example Usage
Once configured, you can ask Claude:
- "Search the KOI knowledge base for information about carbon credits"
- "Get statistics about the knowledge base"
- "List active Regen Registry credit classes"
- "Find recent activity on the Regen Network"
- "Generate a weekly digest of Regen Network activity from the past week"
- "Create a digest of discussions from January 1 to January 7, 2025"
Weekly Digest Tools
There are two tools for getting weekly activity information, each designed for different use cases:
generate_weekly_digest - Curated Summary
Creates a condensed, curated markdown summary of Regen Network activity. Best for quick overview and reading in Claude.
Features:
- Executive summary with key highlights
- Curated selection of important discussions and updates
- Governance analysis and community insights
- On-chain metrics summary
- Automatically aggregates content from the past 7 days (or custom date range)
Examples:
"Generate a weekly digest of Regen Network activity"
"Create a digest from December 1 to December 8, 2024"
"Generate a weekly digest and save it to weekly_summary.md"get_notebooklm_export - Full Content Export
Returns the complete, unabridged source material. Best for deep analysis or loading into NotebookLM.
Features:
- Full forum thread posts - Complete text of all posts, not just summaries
- Complete Notion page content - All chunks combined into full documents
- Enriched URLs - Metadata and context for linked resources
- Detailed source material - Everything you need for thorough analysis
- Generates on demand if no recent cached version exists (takes 2-3 minutes)
Examples:
"Get the full NotebookLM export"
"Get the complete weekly content with all forum posts"
"Export the full source material and save it to notebooklm_export.md"When to use which:
- Use
generate_weekly_digestfor a quick, readable summary - Use
get_notebooklm_exportwhen you need raw source content for deep analysis, fact-checking, or loading into external tools like NotebookLM
π€ Contributing
Contributions welcome! Please feel free to submit issues and pull requests.
π License
MIT License - see LICENSE file for details
π Links
π Credits
Built by the Regen Network community to make ecological knowledge accessible to AI assistants everywhere.
π οΈ Developer & Deployment Documentation
For developers and operators who want to run their own instance or contribute:
| Document | Description |
|---|---|
| docs/INFRASTRUCTURE.md | Server requirements, PostgreSQL setup, Apache AGE installation |
| docs/DEPLOYMENT.md | Production deployment guide, systemd setup, monitoring |
| docs/TECHNICAL_ASSISTANT_PROJECT.md | Full project tracking and implementation details |
| ARCHITECTURE.md | System architecture and component overview |
Quick Local Development with Docker
Spin up a complete development stack with PostgreSQL + pgvector + Apache AGE:
cd docker/
docker-compose up -dThis starts everything needed for full functionality including graph queries.
Deploy Scripts
# Install Apache AGE on existing PostgreSQL
./scripts/deploy/install-apache-age.sh
# Setup database schema and extensions
./scripts/deploy/setup-database.sh
# Load graph data (entities, summaries, relationships)
./scripts/deploy/load-graph-data.shποΈ Related Repositories
This MCP client is part of the larger KOI ecosystem:
- koi-sensors - Real-time data collection from Discourse, Regen Ledger, websites, etc.
- koi-processor - Batch processing pipeline for chunking, embedding, and graph construction
See ARCHITECTURE.md for how these components work together.