js-mcp-server

js-mcp-server

5

The Linkup Model Context Protocol server facilitates the integration of Linkup's web search functionality with AI models via the Model Context Protocol. It supports function calling and is compatible with Claude, making it a useful tool for those seeking advanced AI model interactions.

Linkup Model Context Protocol

This package provides a Model Context Protocol server for integrating Linkup's web search functionality with AI models that support function calling through MCP.

You can check the NPM page here.

Installation & Usage

You can run the Linkup MCP server directly using npx:

npx -y linkup-mcp-server --api-key=YOUR_LINKUP_API_KEY

Alternatively, you can set your API key as an environment variable:

export LINKUP_API_KEY=YOUR_LINKUP_API_KEY
npx -y linkup-mcp-server

Command Line Options

OptionDescription
--api-keyYour Linkup API key (required unless LINKUP_API_KEY env is set)
--base-urlCustom API base URL (default: https://api.linkup.so/v1)
--help, -hShow help text

Usage with Claude

Add the following to your claude_desktop_config.json. See the MCP documentation for more details.

To ensure compatibility with Claude, we recommend that npx command be accessible within the same environment. A common location for this is /usr/local/bin/node (on mac)

{
  "mcpServers": {
    "linkup": {
      "command": "npx",
      "args": ["-y", "linkup-mcp-server"],
      "env": {
        "LINKUP_API_KEY": "YOUR_LINKUP_API_KEY"
      }
    }
  }
}

or

{
  "mcpServers": {
    "linkup": {
      "command": "npx",
      "args": ["-y", "linkup-mcp-server", "--api-key=YOUR_LINKUP_API_KEY"]
    }
  }
}

Available Tools

ToolDescription
search-webPerform a web search query using Linkup

Development

Clone the repository and install dependencies:

git clone git@github.com:LinkupPlatform/js-mcp-server.git
cd js-mcp-server
npm install

Available Scripts

ScriptDescription
npm run buildBuild the TypeScript project
npm run lintRun ESLint
npm run formatFormat code with Prettier
npm run testRun tests
npm run test:watchRun tests in watch mode

License

This project is licensed under the MIT License - see the file for details.