npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

obsidian-brain-mcp

v0.2.0

Published

MCP server that turns your Obsidian vault into a domain-specific AI brain with dynamic agent creation, knowledge management, and cross-agent intelligence

Readme

obsidian-brain-mcp

Turn your Obsidian vault into a domain-specific AI brain. An MCP (Model Context Protocol) server that enables dynamic agent creation, knowledge management, and cross-agent intelligence.

Features

  • Dynamic Agent Creation — Create specialized domain agents that accumulate knowledge over time
  • Belief Evolution — Track how understanding changes with confidence scoring and supersede chains
  • Decision Recording — Capture decisions with context, reasoning, and outcomes
  • Pattern Recognition — Promote recurring patterns from accumulated decisions
  • Cross-Agent Search — Search knowledge across all agents simultaneously
  • Knowledge Linking — Create typed relationships between knowledge nodes across agents
  • Conflict Detection — Surface contradictory beliefs within and across agents
  • Memory Consolidation — Automatically archive and summarize aging knowledge
  • Agent Dialogue — Generate structured dialogue material between two agents on a topic
  • Note Import — Import existing Obsidian notes into agent knowledge bases

Installation

npm install -g obsidian-brain-mcp

Configuration

Set the environment variable to point to your Obsidian vault directory where agent brains will be stored:

export OBSIDIAN_BRAIN_VAULT_PATH="/path/to/your/obsidian-vault/AI Brain"

Usage with Claude Code

Add to your ~/.claude/settings.json:

{
  "mcpServers": {
    "obsidian-brain": {
      "command": "obsidian-brain-mcp",
      "env": {
        "OBSIDIAN_BRAIN_VAULT_PATH": "/path/to/your/obsidian-vault/AI Brain"
      }
    }
  }
}

Tools

| Tool | Description | Key Parameters | |------|-------------|----------------| | create_agent | Create a new domain agent | name, description, scope | | list_agents | List all agents with statistics | (none) | | get_agent_context | Get full knowledge context for an agent (for prompt injection) | agent | | suggest_agents | Suggest relevant agents for a given task | task | | record_decision | Record a decision with context and reasoning | agent, title, context, decision, reasoning, tags | | query_agent | Search an agent's knowledge base | agent, question | | evolve_belief | Record or evolve a belief with confidence tracking | agent, title, content, reasoning, supersedes? | | promote_pattern | Promote a recurring pattern from decisions | agent, title, description, conditions, decision_refs, confidence | | search_across_agents | Search knowledge across all agents | query | | link_knowledge | Create typed links between knowledge across agents | source_agent, source_file, target_agent, target_file, relationship | | detect_conflicts | Detect contradictory beliefs within/across agents | agent? | | consolidate_memory | Archive and summarize aging knowledge | agent, before_date?, dry_run? | | agent_dialogue | Generate dialogue material between two agents on a topic | agents (array of 2), topic | | import_notes | Import existing Obsidian notes into an agent's knowledge base | agent, note_path, import_as, title? |

Vault Structure

{OBSIDIAN_BRAIN_VAULT_PATH}/
├── _registry.md              # Agent registry
├── master/                   # Default root agent
│   ├── _agent.md
│   ├── beliefs/
│   ├── decisions/
│   ├── patterns/
│   ├── knowledge-links/
│   └── consolidations/
├── {agent-name}/
│   ├── _agent.md
│   ├── beliefs/
│   │   └── {slug}.md         # Frontmatter: confidence, formed, supersedes
│   ├── decisions/
│   │   └── {date}-{slug}.md  # Frontmatter: tags, outcome
│   ├── patterns/
│   │   └── {slug}.md         # Frontmatter: confidence, derived_from
│   ├── knowledge-links/
│   │   └── {slug}.md         # Cross-agent relationship links
│   └── consolidations/
│       └── {date}-consolidated-{timestamp}.md
└── ...

How It Works

Each agent lives as a directory in your Obsidian vault. Knowledge is stored as Markdown files with YAML frontmatter for metadata (confidence scores, timestamps, relationships, tags).

When you create an agent, it gets its own directory with subdirectories for beliefs, decisions, patterns, knowledge-links, and consolidations. As you record decisions and evolve beliefs, the agent accumulates structured knowledge that can be queried, searched, and linked across agents.

The frontmatter-based metadata system enables features like belief evolution (tracking how understanding changes over time via supersede chains), pattern promotion (elevating recurring decision patterns), and conflict detection (surfacing contradictory beliefs by comparing content across agents).

Because everything is plain Markdown, you can browse, edit, and link your agent knowledge directly in Obsidian — or any text editor.

Requirements

  • Node.js >= 18.0.0
  • An Obsidian vault (or any directory — Obsidian is optional but recommended for browsing)

License

MIT