Basic information

Category
License
MIT
Transports
stdio
Author
alfahq
Submitted by
Community
Quality
15

About Alfa MCP Server

Alfa seamlessly brings the latest code docs directly into your AI code editor. Our MCP (model context protocol) server, is like a cheat code that helps AI code editors like Cursor just work, no matter what LLM you're using.

Alfa is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by alfahq. It exposes 2 tools, including resolve-library-id, get-library-docs. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: documentation.

Setup

{
    "mcpServers": {
        "alfa9": {
            "command": "npx",
            "args": [
                "-y",
                "@alfahq/mcp@latest"
            ],
            "env": {
                "ALFA_API_KEY": "<YOUR_API_KEY>"
            }
        }
    }
}

Alfa MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "alfa9": {
            "command": "npx",
            "args": [
                "-y",
                "@alfahq/mcp@latest"
            ],
            "env": {
                "ALFA_API_KEY": "<YOUR_API_KEY>"
            }
        }
    }
}

Alfa MCP Server tools

  • resolve-library-id — Resolves a library name to an Alfa-compatible library ID and returns a list of matching libraries from the Alfa Crawler index. You MUST call this function before 'get-library-docs' to obtain a valid Alfa-compatible library ID (which is the library's 'name' field). When selecting the best match, consider mainly name similarity and display name.
    query:string*
  • get-library-docs — Fetches up-to-date, relevant documentation sections for a library using its Alfa-compatible library ID and a specific query. Call 'resolve-library-id' first to get the ID.
    alfaCompatibleLibraryID:string*, versionTag:string, relevanceQuery:string*, tokens:number

Overview

What is Alfa?

Alfa is an MCP (Model Context Protocol) server that brings the latest code documentation directly into AI code editors like Cursor, working with any LLM.

How to use Alfa?

Key features of Alfa

  • Brings latest code docs directly into AI code editors.
  • Works with any large language model.
  • Uses the Model Context Protocol for integration.
  • Helps AI editors like Cursor function with any LLM.

Frequently asked questions

1 What does Alfa do?

It brings the latest code documentation directly into your AI code editor.

2 Which code editors does Alfa support?

It supports AI code editors like Cursor.

3 Does Alfa work with any large language model?

Yes, Alfa works with any LLM.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬