How to connect Wikidata to Grok Bot
Add the Firecrawl plugin to Grok Bot once and it can call the Wikidata API and every other provider in Firecrawl Alexandria, with no Wikidata integration code.
To connect Wikidata to Grok Bot, add the Firecrawl plugin to Grok Bot, sign in on a Firecrawl team with Alexandria enabled, and ask for Wikidata data in plain language. The connection works in every Bot in your Grok Bot account, and you set it up once.
Grok Bot uses Wikidata as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Wikidata.
Grok Bot is xAI's agent app. Plugins give your Bots outside tools, and the Firecrawl plugin adds web search, scraping and every data provider in Firecrawl Alexandria.
How do I connect Wikidata to Grok Bot?
Add the Firecrawl plugin
In Grok Bot, open Connect apps from the sidebar, find Firecrawl and select Connect. You can also open Firecrawl's plugin listing and select Add to Grok Bot, which opens the desktop app to finish the install.

Connect your Firecrawl account
Grok Bot opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and select Authorize. The screen names Cursor, because the plugin is published on the Cursor Marketplace. No account yet? You can create one for free in the same flow.

Ask your Bot for the data
In a chat, ask in plain language and mention Wikidata or Firecrawl Alexandria. To make sure the Bot uses Firecrawl, type @ and choose Firecrawl first. For example:
Use Firecrawl to run Wikidata's Entity summary capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
What can Grok Bot do with Wikidata?
Wikidata, the free CC0 knowledge graph behind Wikipedia: entity search, full-text search, entity detail (labels, sitelinks, official websites, external identifiers), typed statements, presence summaries with page views, lookup by external identifier (IMDb, VIAF, ISNI, ORCID, ...), and SPARQL through the anonymous MediaWiki/Wikibase Action API and the Wikidata Query Service.
Grok Bot can run any of Wikidata's 7 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.
- Entity summary: Lightweight presence summary for up to 50 Wikidata items or properties in one Action API `query` call (`prop=pageprops|entityterms|pageviews|info`): label, description and aliases (English), statement, external-identifier and sitelink counts, the page image file name, last revision and per-day page views on wikidata.org for the last N days. Ids that do not exist are listed in `missing_ids`; when none of the ids exists the call is `not_found`. Costs 5 Firecrawl credits per call.
- Find by external id: Find the Wikidata item(s) carrying an external identifier: an IMDb id, VIAF cluster id, ISNI, ORCID, GND, Library of Congress id, GeoNames id, LEI, OpenCorporates id, Crunchbase organization, X/Instagram/GitHub username, LinkedIn company id or any other external-id property. Exact match through CirrusSearch `haswbstatement:`, then labels and descriptions of the matches and the property label through `wbgetentities`. Costs 5 Firecrawl credits per call.
- Fulltext search: Full-text CirrusSearch over Wikidata items (main namespace) through the Action API `query&list=search`: matches labels, aliases and descriptions in every language and supports Wikidata search keywords such as `haswbstatement:P31=Q4830453` (instance of business), `inlabel:`, `incaption:`. Returns the total hit count, one page of hits (id, page id, plain-text title and description snippets) and `next_offset`. Costs 5 Firecrawl credits per call.
- Get claims: Statements of one Wikidata entity through the Action API `wbgetclaims`, fully typed: for one property or for every property. Each statement carries its GUID, rank, main value (entity id, string, URL, external id, time, quantity, monolingual text or coordinate, with `somevalue`/`novalue` kept as such), qualifiers in Wikidata order and references, with the labels of every referenced property and item resolved in one map. Costs 5 Firecrawl credits per call.
- Get entity: One Wikidata entity (item or property) through the Action API `wbgetentities`, shaped for entity-presence checks: labels, descriptions and aliases in the requested languages, sitelinks for the requested wikis (with the English Wikipedia URL surfaced), every `official website` (P856) by rank, `instance of` (P31) ids, all external identifiers (statements whose property datatype is `external-id`, with the property label resolved in one batched `wbgetentities` call per 50 properties), statement/identifier/sitelink counts and the list of property ids present so `get_claims` can fetch any statement group in full. Lookup by id, or by a Wikipedia article (`site` + `title`). Costs 5 Firecrawl credits per call.
- Search entities: Search Wikidata items or properties by label and alias prefix through the Action API `wbsearchentities` (the typeahead the site itself uses). Returns one page of up to 50 matches with id, label, description, aliases, the matched term, concept URI and page URL, plus `next_offset` for the following page. Language is the term language searched and the display language; Wikidata falls back to other languages (`match.language` says which term matched). Costs 5 Firecrawl credits per call.
- Sparql: Run a read-only SPARQL query against the Wikidata Query Service (`query.wikidata.org/sparql`, JSON results). Returns the projected variable names and the rows as `variable -> {type, value, datatype, language}` (unbound variables are absent from a row). WDQS enforces a 60 s query time limit; a timed-out or malformed query is reported as such. Costs 5 Firecrawl credits per call.
What should I ask Grok Bot?
Name Wikidata or Firecrawl Alexandria in the prompt so Grok Bot reaches for it.
- Use Firecrawl to run Wikidata's Entity summary capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
- Use Firecrawl to run Wikidata's Find by external id capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
- Use Firecrawl to run Wikidata's Fulltext search capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
- Use Firecrawl to run Wikidata's Get claims capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
Troubleshooting
Why doesn't my Bot use Wikidata?
Attach Firecrawl to the chat with @ before you ask, and name Wikidata or Firecrawl Alexandria in the prompt.
Add to Grok Bot doesn't open the app. What should I do?
Install the Grok Bot desktop app first, or open Connect apps in Grok Bot and search for Firecrawl.
Use Wikidata in other AI apps
The same Firecrawl account reaches Wikidata from other AI apps. Pick one for its setup steps:
Other data providers you can connect to Grok Bot
Frequently Asked Questions
What is Firecrawl?
Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl plugin brings those tools into Grok Bot, along with every data provider in Firecrawl Alexandria.
What is Firecrawl Alexandria?
Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, Wikidata among them. Each provider returns structured data through documented capabilities. Grok Bot finds the capability that fits your question and calls it through the Firecrawl plugin, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.
Is there a Wikidata MCP server for Grok Bot?
Grok Bot reaches Wikidata through Firecrawl's hosted MCP server, which serves Wikidata and every other Alexandria provider as tools. Add the Firecrawl plugin once and you don't install or host a separate MCP server for Wikidata.
What does connecting Wikidata to Grok Bot unlock?
Grok Bot can run all 7 of Wikidata's capabilities, including Entity summary, Find by external id and Fulltext search, from any chat, with structured results it can sort, compare and summarize. In the same conversation, Grok Bot can combine Wikidata with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.
Do I need my own Wikidata account or API key to use it in Grok Bot?
No. Grok Bot calls Wikidata through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate Wikidata account or API key.
How much does it cost to use Wikidata in Grok Bot?
Each Wikidata call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Grok Bot, and finding the right capability is free.
Can Grok Bot use other providers besides Wikidata?
Yes. The same Firecrawl plugin reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.
Can I use Wikidata in other AI apps?
Yes. Connect Firecrawl to ChatGPT, Claude, Cursor, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same Wikidata capabilities are available there. Keyless connections don't include Alexandria.