MetorialDocs

Set up Hacker News in Metorial for Claude, ChatGPT and Cursor

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'll 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

Admin: share Hacker News in a portal

In the dashboard

Open Shared Resources

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

Share a new integration

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

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:

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

Employee: connect Hacker News

In the portal

Open Hacker News in the catalog

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

Authenticate

Under Quick setup, select Authenticate.

Confirm

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

With the CLI

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.

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

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