Lobsters API and MCP server for AI agents

Let Claude, ChatGPT or your own agent read Lobsters. No Lobsters API key needed.

Add to your agent

Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.

Read https://bowmark.ai/sites/lobsters.md and add Bowmark's Lobsters MCP server to my agent.

Functions

Open a function to see its parameters and run it with your own API key.

  • getStoryReturns one Lobsters story by its short id or lobste.rs/s/ url, with its whole comment thread in thread order.

    POST /v1/sites/lobsters/getStory

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/lobsters/getStory \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"id":"9pm09z"}'
    Sign in to run
    Responsereturns LobstersStoryWithComments
    interface LobstersComment {
      id: string;
      author: string | null;
      text: string;
      score: number | null;
      createdAt: string | null;
      depth: number;
      parentId: string | null;
      url: string | null;
    }
    
    interface LobstersStoryWithComments {
      id: string;
      title: string;
      url: string | null;
      score: number | null;
      commentCount: number | null;
      author: string | null;
      createdAt: string | null;
      tags: string[];
      description: string | null;
      lobstersUrl: string;
      comments: LobstersComment[];
    }
  • getUserReturns one Lobsters member's public profile: join date, admin/moderator flags, about text, inviter and linked handles.

    POST /v1/sites/lobsters/getUser

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/lobsters/getUser \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"username":"pushcx"}'
    Sign in to run
    Responsereturns LobstersUser
    interface LobstersUser {
      username: string;
      createdAt: string | null;
      isAdmin: boolean;
      isModerator: boolean;
      about: string | null;
      invitedBy: string | null;
      githubUsername: string | null;
      mastodonUsername: string | null;
      profileUrl: string;
    }
  • listStoriesReturns the Lobsters hottest, newest or active story list, or one tag's stories, in the site's own order.

    POST /v1/sites/lobsters/listStories

    Parameters

    curl -X POST https://api.bowmark.ai/v1/sites/lobsters/listStories \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"args":{"limit":3}}'
    Sign in to run
    Responsereturns LobstersStoryPage
    interface LobstersStory {
      id: string;
      title: string;
      url: string | null;
      score: number | null;
      commentCount: number | null;
      author: string | null;
      createdAt: string | null;
      tags: string[];
      description: string | null;
      lobstersUrl: string;
    }
    
    interface LobstersStoryPage {
      results: LobstersStory[];
      total: number | null;
      page: number;
      pageCount: number | null;
      returned: number;
      warnings: string[];
    }
  • listTagsReturns every active Lobsters tag with its description and category.

    POST /v1/sites/lobsters/listTags

    Parameters

    No parameters.

    curl -X POST https://api.bowmark.ai/v1/sites/lobsters/listTags \
      -H "Authorization: Bearer $BOWMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{}'
    Sign in to run
    Responsereturns LobstersTag[]
    interface LobstersTag {
      tag: string;
      description: string | null;
      category: string | null;
      isMedia: boolean;
      active: boolean;
    }