Powertools MCP Search Server

MIT License
120
20
  • Apple
  • Linux

Integrations

  • Provides search functionality for .NET-specific AWS Lambda Powertools documentation to discover relevant implementation guides, features, and usage examples.

  • Provides search functionality for AWS Lambda Powertools documentation across multiple runtimes (Python, TypeScript, Java, .NET), enabling queries for version-specific documentation to help with implementing AWS Lambda functions.

  • Enables searching through Python-specific AWS Lambda Powertools documentation to find relevant implementation guides, features, and usage examples.

Powertools MCP Search Server

A Model Context Protocol (MCP) server that provides search functionality for AWS Lambda Powertools documentation across multiple runtimes.

Claude Desktop Quickstart

Follow the installation instructions please follow the Model Context Protocol Quickstart For Claude Desktop users. You will need to add a section tothe MCP configuration file as follows:

{ "mcpServers": { "powertools": { "command": "npx", "args": [ "-y", "@serverless-dna/powertools-mcp" ] } } }

Overview

This project implements an MCP server that enables Large Language Models (LLMs) to search through AWS Lambda Powertools documentation. It uses lunr.js for efficient local search capabilities and provides results that can be summarized and presented to users.

Features

  • MCP-compliant server for integration with LLMs
  • Local search using lunr.js indexes
  • Support for multiple runtimes:
    • Python
    • TypeScript
    • Java
    • .NET
  • Version-specific documentation search (defaults to latest)

Installation

# Install dependencies pnpm install # Build the project pnpm build

Usage

The server can be run as an MCP server that communicates over stdio:

npx -y @serverless-dna/powertools-mcp

Search Tool

The server provides a search_docs tool with the following parameters:

  • search: The search query string
  • runtime: The Powertools runtime to search (python, typescript, java, dotnet)
  • version: Optional version string (defaults to 'latest')

Development

Project Structure

  • src/: Source code
    • index.ts: Main server implementation
    • searchIndex.ts: Search index management
  • indexes/: Pre-built lunr.js search indexes for each runtime
  • dist/: Compiled output

Building

pnpm build

Testing

pnpm test

Claude Desktop MCP Configuration

During development you can run the MCP Server with Claude Desktop using the following configuration.

The configuration below shows running in windows claude desktop while developing using the Windows Subsystem for Linux (WSL). Mac or Linux environments you can run in a similar way.

The output is a bundled file which enables Node installed in windows to run the MCP server since all dependencies are bundled.

{ "mcpServers": { "powertools": { "command": "node", "args": [ "\\\\wsl$\\Ubuntu\\home\\walmsles\\dev\\serverless-dna\\powertools-mcp\\dist\\bundle.js" ] } } }

How It Works

  1. The server loads pre-built lunr.js indexes for each supported runtime
  2. When a search request is received, it:
    • Loads the appropriate index based on runtime and version (currently fixed to latest)
    • Performs the search using lunr.js
    • Returns the search results as JSON
  3. The LLM can then use these results to find relevant documentation pages

License

MIT

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Enables LLMs to search through AWS Lambda Powertools documentation across multiple runtimes (Python, TypeScript, Java, .NET) using a Model Context Protocol server.

  1. Claude Desktop Quickstart
    1. Overview
      1. Features
        1. Installation
          1. Usage
            1. Search Tool
          2. Development
            1. Project Structure
            2. Building
            3. Testing
            4. Claude Desktop MCP Configuration
          3. How It Works
            1. License

              Related MCP Servers

              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that enables LLMs to interact with Elasticsearch clusters, allowing them to manage indices and execute search queries using natural language.
                Last updated -
                1
                JavaScript
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and various API operations including record management.
                Last updated -
                10
                53
                Python
                MIT License
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.
                Last updated -
                536
                1
                MIT License
                • Apple
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.
                Last updated -
                9
                TypeScript
                • Apple
                • Linux

              View all related MCP servers

              ID: 2lx665z7md