# Facebook MCP server for AI agents

> Give Claude, Cursor or any MCP client Facebook data: 5 endpoints from $0.043 a call, no Facebook login. Your AI finds the endpoint, says the price and fetches.

Canonical page: https://okdata.online/it/mcp/facebook/

## Connect your AI in one sentence

```text
Set up okdata for me by following https://okdata.online/agents.md. Here is my okdata API key: okd_…. Keep it safe and use it for all okdata calls.
```

## What it answers

| Question | Endpoint | Price |
|---|---|---|
| Ricerca post Facebook: Cerca post pubblici di Facebook per parola chiave, eventualmente in un intervallo di date: testo, link, data, reazioni, commenti e condivisioni, e la pagina che li ha pubblicati. Le pagine filtrate per data possono comunque includere post fuori intervallo. | [facebook.posts.search](https://okdata.online/apis/facebook/posts/search/) | $0.043 per call · about 10 posts per page |
| Ricerca ID pagina Facebook: L'ID numerico di una pagina o di un profilo Facebook pubblico a partire dal suo percorso (il NASA in facebook.com/NASA), accettato da facebook.pages.posts.list. | [facebook.pages.get](https://okdata.online/apis/facebook/pages/get/) | $0.043 per call |
| Post delle pagine Facebook: I post di una Pagina Facebook pubblica, dal più recente: testo, link, data, reazioni, commenti e condivisioni. | [facebook.pages.posts.list](https://okdata.online/apis/facebook/pages/posts/list/) | $0.043 per call · about 3 posts per page |
| Commenti ai post di Facebook (coming soon): Commenti sotto un post Facebook pubblico: testo, data, reazioni e numero di risposte. Gli autori dei commenti non sono indicati. ext.expansion_token è il valore che accetta facebook.comments.replies.list. | [facebook.posts.comments.list](https://okdata.online/apis/facebook/posts/comments/list/) | $0.043 per call · about 10 comments per page |
| Risposte ai commenti di Facebook (coming soon): Risposte a un commento di un post pubblico di Facebook: testo, data e reazioni. Gli autori delle risposte non sono indicati. | [facebook.comments.replies.list](https://okdata.online/apis/facebook/comments/replies/list/) | $0.043 per call · about 10 comments per page |

## Two calls

1. `find {"query":"facebook posts"}`: free
2. `call {"capability":"facebook.posts.search","query":"espresso machine"}`: $0.043 per call · about 10 posts per page

## Skill package

- `okdata-facebook`: https://okdata.online/.well-known/agent-skills/okdata-facebook/SKILL.md · https://okdata.online/skills/okdata-facebook.zip

[Every Facebook endpoint](https://okdata.online/apis/facebook/) · [MCP server](https://okdata.online/mcp/) · [Integrations](https://okdata.online/integrations/)
