Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Mdnlookup

БесплатноНе проверен

Enables searching and summarizing MDN Web Docs documentation directly from MCP-compatible clients. Allows developers to quickly retrieve concise documentation s

GitHubEmbed

Описание

Enables searching and summarizing MDN Web Docs documentation directly from MCP-compatible clients. Allows developers to quickly retrieve concise documentation summaries for web technologies without leaving their workflow.

README

A tool to fetch and summarize developer documentation from MDN Web Docs.

MDNlookup is a developer productivity tool that streamlines access to MDN Web Docs documentation directly from your development environment. Designed for seamless integration with MCP-compatible clients and editors like VS Code, mdnlookup enables developers to quickly search for and retrieve concise, relevant documentation summaries for web APIs, JavaScript methods, and other web technologies—without leaving their workflow.

By exposing an MCP-compatible tool server over stdio, mdnlookup makes it easy to automate documentation lookups and integrate them into custom toolchains or editor extensions. This helps developers save time, reduce context switching, and stay focused on coding.

Features

  • Search MDN for documentation using a query string.
  • Returns a summary (first paragraph) and a link to the full documentation.
  • Exposes an MCP-compatible tool server over stdio.

Available Tools

mdnlookup

  • Description: Fetches and summarizes developer documentation from MDN based on a search query.
  • Parameters:
    • query (string): The search term or API/method name you want documentation for.

Installation

Clone the repository and install dependencies:

git clone https://github.com/yourusername/mdn-lookup.git
cd mdn-lookup
npm install

Usage

This tool is designed to be used as an MCP tool server. You can run it directly using Node:

node index.js

It will start an MCP server over stdio, ready to accept requests.

Example: Configure in MCP Client

{
  "mcpServers": {
    "SmartDeveloperAssistant": {
      "command": "node",
      "args": [
        "</absolute/path/to>/mdn-lookup/index.js"
      ]
    }
  }
}

VS Code (.vscode/settings.json)

"mcp": {
        "servers": {
            "mdnlookup": {
                "type": "stdio",
                "command": "node",
                "args": ["</absolute/path/to>/mdn-lookup/index.js"]
            }
        },
        "inputs": []
    },

Run with Docker

You can use Docker to run the mdnlookup MCP server without installing Node.js or dependencies locally or using https://hub.docker.com/r/babymanisha/mdnlookup

Pull the Docker image from Docker Hub:

docker pull babymanisha/mdnlookup:latest

Or build the Docker image locally:

docker build -t mdnlookup .

Run the server:

docker run -i babymanisha/mdnlookup:latest

or, if you built locally:

docker run -i mdnlookup

This will start the MCP server over stdio inside the container, ready to be used by any MCP-compatible client or editor (such as VS Code).

To configure VS Code to use the Dockerized server, set the command to:

{
  "mcpServers": {
    "mdnlookup": {
      "command": "docker",
      "args": [
        "run", "-i", "mdnlookup"
      ]
    }
  }
}

Example: Using the Tool

You can use the mdnlookup tool by sending a request from any MCP-compatible client:

{
  "tool": "mdnlookup",
  "params": {
    "query": "Array.prototype.map"
  }
}

The response will look like:

{
  "content": [
    {
      "type": "text",
      "text": "The map() method creates a new array populated with the results of calling a provided function on every element in the calling array.\n\nMore info: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map"
    }
  ]
}

Example Results

Below are screenshots of the tool in action for various queries:

Promises

Promises Example

Async/Await

Async/Await Example

Node.js

Node.js Example

OAuth

OAuth Example

Configuration

No additional configuration is required. The tool uses the MDN public API and fetches documentation in English.

License

ISC

See Also

--

Thanks

Happy Coding!!

Baby Manisha Sunkara 👩🏻‍💻

from github.com/BabyManisha/mdn-lookup

Установка Mdnlookup

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/BabyManisha/mdn-lookup

FAQ

Mdnlookup MCP бесплатный?

Да, Mdnlookup MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Mdnlookup?

Нет, Mdnlookup работает без API-ключей и переменных окружения.

Mdnlookup — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Mdnlookup в Claude Desktop, Claude Code или Cursor?

Открой Mdnlookup на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Mdnlookup with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории productivity