MCP Hub
Back to servers

speclib-mcp

An MCP server that enables AI agents to search, discover, and retrieve technical specifications from a SpecLib instance. It provides tools for full-text search, scope listing, and reading specs as markdown content.

Updated
Feb 12, 2026

speclib-mcp

MCP server for searching and retrieving SpecLib specs. Allows AI agents to discover and read specifications via the Model Context Protocol.

Tools

ToolDescription
search_specsSearch specs by query, scope, and/or content type
get_specGet full spec content by ID or scope/slug
list_scopesList all available scopes
get_recipeGet a recipe with its bundled specs

Resources

URIDescription
spec://{scope}/{slug}Read a spec as markdown

Usage

One-liner

npx github:rang501/speclib-mcp

Claude Code

Add to your MCP settings (.mcp.json or project config):

{
  "mcpServers": {
    "speclib": {
      "command": "npx",
      "args": ["-y", "github:rang501/speclib-mcp"],
      "env": {
        "SPECLIB_API_URL": "http://localhost:3000"
      }
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "speclib": {
      "command": "npx",
      "args": ["-y", "github:rang501/speclib-mcp"],
      "env": {
        "SPECLIB_API_URL": "http://localhost:3000"
      }
    }
  }
}

Local development

git clone https://github.com/rang501/speclib-mcp.git
cd speclib-mcp
npm install
node index.mjs

Configuration

Environment VariableDefaultDescription
SPECLIB_API_URLhttp://localhost:3000SpecLib instance URL

Requirements

  • Node.js >= 20
  • A running SpecLib instance (public specs are accessible without authentication)

Reviews

No reviews yet

Sign in to write a review