Skip to main content
Glama
CloudWaddie

OSINT MCP Server

instagram_user_lookup

Look up Instagram users to gather open-source intelligence for security research and data analysis. Input a username to retrieve information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameYesInstagram username to lookup

Implementation Reference

  • src/index.ts:743-752 (registration)
    Registration of the instagram_user_lookup tool in the MCP server.
    server.tool(
      "instagram_user_lookup",
      { username: z.string().describe("Instagram username to lookup") },
      async ({ username }) => {
        const result = await scavengerClient.getInstagramProfile(username);
        return {
          content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
        };
      }
    );
  • Implementation of the getInstagramProfile logic that performs the lookup.
    async getInstagramProfile(username: string): Promise<any> {
      try {
        const url = `https://www.instagram.com/${username}/`;
        const response = await fetch(url, {
          headers: { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" }
        });
        return {
          platform: "Instagram",
          username,
          url,
          status: response.status === 200 ? "Active" : "Not Found or Blocked"
        };
      } catch (e) {
        return { platform: "Instagram", username, error: true };
      }
    }

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/CloudWaddie/osint-mcp'

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