Look up an API reference
If you ask
“What's the correct signature and usage for useActionState in React 19?”
Then
Answer questions about specific functions or hooks with verified documentation.
Works in Claude, Codex, Cursor & any MCP agent
How this prompt works
-
Turn on the Context7 connector in Claude, ChatGPT or Cursor — once.
-
Paste the prompt above. No code, no menus.
-
Answer questions about specific functions or hooks with verified documentation.
FAQ
How do I look up an api reference with Context7?
Add the Context7 MCP connector once, then paste this prompt into Claude or ChatGPT: "What's the correct signature and usage for useActionState in React 19?". Your AI runs it in Context7.
Do I need to code?
No. You install the connector once (a short config or one click), then ask in plain words. The prompt on this page works as-is.
Which AI assistants work?
Claude (Desktop, Code), Cursor, ChatGPT and other MCP clients. The same prompt works across them.
Set up Context7 in Claude
Copy-paste config, setup steps and more ready-to-run prompts on the connector page.
Open Context7 setupMore prompts