Skip to main content
Glama

social_hashtag_research

Research trending hashtags for any topic using public data to identify relevant social media tags for content optimization and audience engagement.

Instructions

Research trending hashtags for a topic (uses public data)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYesTopic to research hashtags for

Implementation Reference

  • The handler for the social_hashtag_research tool, which processes the input topic and returns suggested hashtags.
    server.tool("social_hashtag_research", "Research trending hashtags for a topic (uses public data)", {
      topic: z.string().describe("Topic to research hashtags for")
    }, async ({ topic }) => {
      const words = topic.toLowerCase().split(/\s+/);
      const primary = words.map(w => `#${w}`);
      const related = [
        `#${words.join("")}`, `#${words[0]}community`,
        "#buildinpublic", "#ai", "#tech", "#startup",
        "#crypto", "#web3", "#defi", "#machinelearning"
      ];
      return { content: [{ type: "text", text: `**Hashtag Research: "${topic}"**\n\n**Primary**: ${primary.join(" ")}\n**Related**: ${related.slice(0, 6).join(" ")}\n\n*Pro tip: Use 0-2 hashtags on Twitter/X for best engagement. LinkedIn: 3-5. Instagram: 15-25.*\n\n**WARNING**: The 0xCVYH style uses ZERO hashtags. Only use if explicitly targeting discovery.` }] };
    });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ElromEvedElElyon/claw-mcp-toolkit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server