Instagram Public MCP
Instagram Public MCP für Vercel
Ein Remote-MCP-Server in Python, der nur öffentliche Instagram-Daten abfragt, ohne Instagram-Login, Cookies, Passwörter oder gespeicherte Kontositzungen.
Wichtig: Mobile-Feed-Instaloader-Patch
Dieser Build verwendet nicht das Standard-Instaloader-4.15.3-Paket.
Es pinnt den anonymen Profil/Beitrags-Fix aus Instaloader-Pull-Request #2722 unter:
3f72b47466cc505b92c6e9b0ca2f5689e93a6a89Abhängigkeit:
instaloader @ https://github.com/alimony/instaloader/archive/3f72b47466cc505b92c6e9b0ca2f5689e93a6a89.zipDer Patch ändert das anonyme Verhalten, sodass:
die Profilauflösung von
api/v1/users/web_profile_info/aufapi/v1/feed/user/{username}/username/zurückfallen kann;die anonyme Beitragspaginierung
api/v1/feed/user/{id}/verwendet;Beitragsseiten die
max_id-Paginierung verwenden;Elemente über Instaloaders iPhone/Mobile-Antwortmodell konvertiert werden;
Fehler von
web_profile_infokönnen sofort den Feed-Fallback erreichen, anstatt auf eine lange Retry/Backoff-Schleife zu warten.
Es wird kein authentifiziertes Instagram-Konto verwendet.
Related MCP server: Instagram Download MCP Server
Architektur
MCP Client
|
v
Vercel /api/mcp
|
v
Patched Instaloader (PR #2722)
|
v
Instagram mobile feed endpointMCP-Tools
get_instagram_profile
Gibt öffentliche Metadaten für ein Instagram-Profil zurück.
{
"username": "instagram"
}get_instagram_posts
Gibt aktuelle öffentliche Beiträge zurück.
{
"username": "instagram",
"count": 3
}debug_instagram_connection
Untersucht die rohe Legacy-web_profile_info-HTTP-Antwort. Dieses Tool bleibt für Diagnosezwecke verfügbar, aber der gepatchte Instaloader kann auf den Mobile-Feed-Endpunkt zurückfallen, wenn dieser Endpunkt abgelehnt wird.
{
"username": "instagram"
}MCP-Ressourcen
instagram://profile/{username}
instagram://profile/{username}/postsCache
Standard-In-Memory-Cache:
CACHE_TTL_SECONDS=600
DEFAULT_POST_COUNT=12
MAX_POST_COUNT=30Setzen Sie CACHE_TTL_SECONDS=0, um ihn zu deaktivieren.
Vercel-Instanzen sind ephemer, daher ist dieser Cache pro warmer Funktionsinstanz und nicht ein global geteilter Cache.
Bereitstellung auf Vercel
npm install -g vercel
vercel --prodDie enthaltene vercel.json stellt die Funktion in São Paulo bereit:
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"regions": ["gru1"]
}MCP-Endpunkt:
https://YOUR-PROJECT.vercel.app/api/mcpHealth-Endpunkt:
https://YOUR-PROJECT.vercel.app/api/healthLokale Entwicklung
python -m venv .venv
pip install -r requirements.txt
uvicorn api.index:app --reloadMCP-Endpunkt:
http://127.0.0.1:8000/api/mcpCursor
.cursor/mcp.json:
{
"mcpServers": {
"instagram-public": {
"url": "https://YOUR-PROJECT.vercel.app/api/mcp"
}
}
}Sicherheit
Dieses Repository enthält keine Instagram-Konto-Anmeldeinformationen.
Es enthält oder erfordert nicht:
Instagram-Benutzername/Passwort-Anmeldeinformationen
sessionidcsrftokenfb_dtsgauthentifizierte Konto-IDs
gespeicherte Instaloader-Sitzungen
Instagram-Cookies
Einschränkungen
Der Server fragt nur öffentliche Daten ab und versucht nicht, private Profile zu umgehen.
Instagram kann anonymen Datenverkehr basierend auf der Bereitstellungs-IP weiterhin drosseln oder blockieren. Der Mobile-Feed-Patch behebt den bekannten defekten anonymen web_profile_info/Timeline-Pfad, kann jedoch nicht garantieren, dass Instagram Datenverkehr von jedem Hosting-Anbieter oder IP-Bereich akzeptiert.
v2.1.1 Profil-Kompatibilitäts-Fix
Der anonyme Mobile-Feed-Fallback kann optionale Profilfelder auslassen, die normalerweise in web_profile_info vorhanden sind.
Version 2.1.1 liest Profileigenschaften defensiv. Fehlende Werte wie biography, external_url oder Geschäftskonto-Metadaten werden als null zurückgegeben, anstatt dass get_instagram_profile fehlschlägt.
Der Beitragsabrufpfad ist gegenüber v2.1.0 unverändert.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Instagram engagement analysis using the unofficial Instagram Private API, including comment sentiment analysis, account comparison, demographic extraction, lead identification, and engagement reporting.80MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to download Instagram content including posts, videos, reels, stories, highlights, and profile pictures using Instaloader, with optional metadata and caption extraction.5MIT
- AlicenseNot gradedqualityDmaintenanceEnables fetching public Instagram profiles, posts, and images without an API key via Instagram's mobile API.2MIT
- AlicenseNot gradedqualityBmaintenanceA local Instagram exporter for MCP clients that exports profile metadata, posts, reels, captions, and comments via a manually authenticated browser session.MIT
Related MCP Connectors
Public Instagram profiles and post feeds by handle, with hashtags and mentions parsed.
Scrape and analyze public LinkedIn posts as structured JSON via the Apify LinkedIn Posts API.
Unified social-media data across 10 networks: profiles, posts, search, comments, cross-search.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/pedroantonnio/Instagram-Analytics-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server