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

livingston-mcp-server

v1.0.6

Published

Livingston MCP server for AI model context with SmartMap documentation and personas

Readme

Livingston MCP Server

A Model Context Protocol (MCP) server that provides access to Livingston's SmartMap documentation, personas, and compliance consulting resources for AI models like Claude.

Features

  • PDF Document Access: Automatically discovers and provides access to PDF documents in the resources directory
  • Dynamic Tool Generation: Creates tools for each PDF document for easy retrieval
  • Smart Prompts: Pre-configured prompts for persona mapping, positioning, and feature analysis
  • TypeScript Support: Fully typed with comprehensive type definitions
  • CLI Interface: Easy-to-use command line interface for starting the server

Installation

Global Installation

npm install -g livingston-mcp-server

Local Installation

npm install livingston-mcp-server

From Source

git clone <repository-url>
cd livingston-mcp-server
npm install
npm run build

Usage

Command Line Interface

Start the server with default settings:

livingston-mcp-server start

Start with custom configuration:

# Custom port
livingston-mcp-server start --port 3000

# Custom PDF directory
livingston-mcp-server start --pdf-directory "/path/to/pdfs"

# Custom server name
livingston-mcp-server start --name "My Custom MCP Server"

# All options together
livingston-mcp-server start --port 3000 --pdf-directory "./docs" --name "Custom Server"

Programmatic Usage

import { LivingstonMCPServer } from 'livingston-mcp-server';

const server = new LivingstonMCPServer({
  server: {
    port: 8080,
    httpStream: { port: 8080 }
  },
  pdf: {
    directory: './resources/livingston pdfs'
  },
  mcp: {
    name: 'My Livingston MCP Server',
    version: '1.0.0'
  }
});

await server.start();

Environment Variables

You can configure the server using environment variables:

  • PORT - Server port (default: 8080)
  • PDF_DIRECTORY - Directory containing PDF files (default: "./resources/livingston pdfs")
  • MCP_NAME - Server name (default: "Livingston MCP Server")

Available Tools

The server automatically generates tools for each PDF file found in the PDF directory:

  • get_livingston_[filename] - Retrieves content from specific PDF documents
  • Tools are named based on the PDF filename with special characters converted to underscores

Available Prompts

  1. Persona-to-Feature Mapping - Cross-reference SmartMap features with key personas
  2. Outcome-Based Positioning Framework - Jobs-to-be-done framework for positioning
  3. Feature Recommendations - Roadmap shaping and MVP+ ideation
  4. Single Feature Deep Dive - Bridge internal language to user-facing copy

PDF Requirements

  • Place PDF files in the configured directory (default: ./resources/livingston pdfs/)
  • Supported file extension: .pdf
  • The server will attempt to extract text using pdftotext if available
  • Files are automatically discovered and made available as both resources and tools

API Endpoints

When running as an HTTP server, the following endpoints are available:

  • Tools: Access to dynamically generated PDF retrieval tools
  • Resources: Direct access to PDF documents as MCP resources
  • Prompts: Pre-configured prompts for Livingston-specific use cases

Development

Setup

git clone <repository-url>
cd livingston-mcp-server
npm install

Development Commands

# Start in development mode with hot reload
npm run dev:watch

# Build the project
npm run build

# Run tests
npm test

# Run tests in watch mode
npm run test:watch

# Type checking
npm run type-check

# Linting
npm run lint
npm run lint:fix

# Test CLI during development
npm run cli start --port 3001

Project Structure

livingston-mcp-server/
├── bin/
│   └── cli.js              # Compiled CLI entry point
├── src/
│   ├── bin/
│   │   └── cli.ts          # CLI source code
│   ├── config/
│   │   └── default.ts      # Default configuration
│   ├── types/
│   │   └── index.ts        # TypeScript type definitions
│   ├── server.ts           # Main server class
│   └── mcpserver.ts        # Legacy server file
├── dist/                   # Compiled JavaScript
├── resources/              # PDF documents directory
├── test/                   # Test files
├── package.json
├── tsconfig.json
└── README.md

Publishing

To publish as an npm package:

  1. Update version in package.json
  2. Build and test:
    npm run build
    npm test
  3. Publish:
    npm publish

License

MIT

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests
  5. Run tests and linting
  6. Submit a pull request

Support

For issues and questions, please create an issue in the GitHub repository.