> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Hacker News in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/hacker-news
Last updated: 2026-11-24

Share Hacker News with your team in Claude, ChatGPT and Cursor through Metorial: no sign-in, 7 tools, all read-only.

---

To give your team Hacker News in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Hacker News integration in a Metorial portal. Nobody signs in, because the integration needs no credentials. Agents can read and search Hacker News content including stories, comments, jobs, polls, and user profiles.

**What you will learn**

- How an admin shares Hacker News in a portal and how people add it to their AI client
- How to check the connection with `metorial call`

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Admin: share Hacker News in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Hacker News.

3. **Choose who gets it**

   Add the access groups that should see Hacker News. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

Once the integration exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search "hacker news"
```

## Employee: connect Hacker News

### In the portal

1. **Open Hacker News in the catalog**

   Sign in to your portal and open Hacker News. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search "hacker news"
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Hacker News connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list "hacker news"
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Every Hacker News tool only reads, so the connection is read-only as it is.

## Check it worked

```bash
metorial list "hacker news"
metorial tools <integration-id>
metorial call <integration-id> list_stories -d '{"category":"top"}'
```

`metorial tools` lists the 7 tools, minus any you rejected. `list_stories` needs `category`, so replace the placeholders. It retrieves a ranked list of Hacker News stories by category.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (7)

- `get_user`: Retrieve a Hacker News user profile by username. Needs `username`.
- `search`: Full-text search across Hacker News content powered by Algolia.
- `list_stories`: Retrieve a ranked list of Hacker News stories by category. Needs `category`.
- `get_item`: Retrieve a Hacker News item by its unique ID. Needs `itemId`.
- `get_comment_tree`: Retrieve the full nested comment tree for a Hacker News story in a single request via Algolia. Needs `storyId`.
- `get_max_item_id`: Retrieve the current largest Hacker News item ID.
- `get_updates`: Retrieve recently changed Hacker News item IDs and usernames.

## Triggers

Hacker News has 3 triggers, which fire on events in Hacker News:

- `inbound_webhook`
- `new_stories`: Triggers when new stories are posted to Hacker News.
- `top_stories_changes`: Triggers when stories enter the Hacker News top stories list.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Hacker News there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Hacker News on metorial.com](https://metorial.com/integrations/hacker-news): the integration overview