Slack

Connect AI Agents to
Slack

Automate workflows and connect AI agents to Slack. Metorial is built for developers. Handling OAuth, compliance, observability, and more.

Back to Slack overview

How to Connect the Hacker News MCP Server to Your AI Assistant

What You'll Need

Before connecting the Hacker News MCP server to your AI assistant, ensure you have the MCP-compatible application installed (such as Claude Desktop, Cline, or another MCP-enabled tool) and basic familiarity with editing JSON configuration files.

Installation Steps

Locate Your Configuration File

Find your AI assistant's MCP configuration file. For Claude Desktop, this is typically located at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json

Add the Server Configuration

Open the configuration file in a text editor and add the Hacker News MCP server to the mcpServers section:

{
  "mcpServers": {
    "hackernews": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-hackernews"]
    }
  }
}

If you already have other MCP servers configured, simply add the hackernews entry alongside them, ensuring proper JSON formatting with commas between entries.

Restart Your Application

Close and reopen your AI assistant application completely. This ensures the new server configuration is loaded properly.

Verifying the Connection

Once restarted, you can verify the connection by asking your AI assistant a question like "What are the top stories on Hacker News right now?" If configured correctly, your assistant will access live data from Hacker News and present current top stories.

What You Can Do

With the server connected, you can:

  • Browse stories: Request top, new, or best stories currently on Hacker News
  • Read discussions: Access comment threads and explore community conversations
  • Research users: Look up user profiles, karma scores, and contribution history
  • Track topics: Monitor discussions about specific technologies, companies, or trends

Simply ask your AI assistant in natural language what you'd like to know about Hacker News content, and the server will handle retrieving and formatting the data.

Troubleshooting

If the connection isn't working, double-check your JSON syntax for errors like missing commas or brackets. Ensure you have Node.js installed on your system, as the server requires it to run. Check your application's logs for specific error messages that might indicate configuration issues.

Slack on Metorial

The Slack integration lets you read messages, send messages to channels and users, and manage your workspace directly from your AI assistant. Use it to stay connected with your team, search conversation history, and automate routine Slack tasks without leaving your workflow.

Connect anything. Anywhere.

Ready to build with Metorial?

Let's take your AI-powered applications to the next level, together.

About Metorial

Metorial provides developers with instant access to 600+ MCP servers for building AI agents that can interact with real-world tools and services. Built on MCP, Metorial simplifies agent tool integration by offering pre-configured connections to popular platforms like Google Drive, Slack, GitHub, Notion, and hundreds of other APIs. Our platform supports all major AI agent frameworks—including LangChain, AutoGen, CrewAI, and LangGraph—enabling developers to add tool calling capabilities to their agents in just a few lines of code. By eliminating the need for custom integration code, Metorial helps AI developers move from prototype to production faster while maintaining security and reliability. Whether you're building autonomous research agents, customer service bots, or workflow automation tools, Metorial's MCP server library provides the integrations you need to connect your agents to the real world.

Star us on GitHub