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

@iflow-mcp/pnocera-bookstack-mcp-server

v1.0.0

Published

MCP server providing comprehensive access to BookStack knowledge management system

Downloads

26

Readme

BookStack MCP Server

Connect BookStack to Claude and other AI assistants through the Model Context Protocol (MCP). This server provides complete access to your BookStack knowledge base with 47+ tools covering all API endpoints.

✨ What You Get

  • Complete BookStack Integration - Access all your books, pages, chapters, and content
  • 47+ MCP Tools - Full CRUD operations for every BookStack feature
  • Search & Export - Find content and export in multiple formats
  • User Management - Handle users, roles, and permissions
  • Production Ready - Rate limiting, validation, error handling, and logging

🚀 Quick Start

# Install globally
npm install -g bookstack-mcp-server

# Or run directly
npx bookstack-mcp-server

Add to Claude

# For Claude Code
claude mcp add bookstack npx bookstack-mcp-server \
  --env BOOKSTACK_BASE_URL=https://your-bookstack.com/api \
  --env BOOKSTACK_API_TOKEN=token_id:token_secret

Configuration

Set these environment variables:

export BOOKSTACK_BASE_URL="https://your-bookstack.com/api"
export BOOKSTACK_API_TOKEN="token_id:token_secret"

💡 Token Format: Combine your BookStack Token ID and Token Secret as token_id:token_secret

💡 Need detailed setup? See the complete Setup Guide

🛠️ Available Tools

47+ tools across 13 categories:

  • 📚 Books - Create, read, update, delete, and export books
  • 📄 Pages - Manage pages with HTML/Markdown content
  • 📑 Chapters - Organize pages within books
  • 📚 Shelves - Group books into collections
  • 👥 Users & Roles - Complete user management
  • 🔍 Search - Advanced search across all content
  • 📎 Attachments & Images - File management
  • 🔐 Permissions - Content access control
  • 🗑️ Recycle Bin - Deleted item recovery
  • 📊 Audit Log - Activity tracking
  • ⚙️ System Info - Instance health and information

📖 See the complete Tools Overview for detailed documentation

📚 Documentation

Find comprehensive guides in the docs/ folder:

⚡ Quick Examples

List all books:

bookstack_books_list({ count: 10, sort: "updated_at" })

Create a new page:

bookstack_pages_create({
  name: "Getting Started",
  book_id: 1,
  markdown: "# Welcome\nYour content here..."
})

Search for content:

bookstack_search({ query: "API documentation", count: 20 })

🛠️ Development

git clone <repository-url>
cd bookstack-mcp-server
npm install
npm run dev

🔧 See the Setup Guide for development, Docker, and production deployment

📝 License

MIT License - see LICENSE file for details.

🌟 Community

This project is part of the BookStack ecosystem! Check out other API-based tools and scripts in the BookStack API Scripts repository.

🆘 Support


Built with ❤️ for the BookStack community