Skip to main content
Get an API key, then paste the prompt below into your coding agent. It briefs the agent on every Context.dev endpoint, installs the MCP server and the skill, scans your repo for places Context.dev would help, and proposes project ideas tailored to you.

Get your API key

1

Sign up

Create an account at context.dev/signup. The free tier gives you 500 one-time credits. No credit card required.
2

Copy your key from the dashboard

Open the dashboard and copy the key from the “API Keys” section. It starts with ctxt_secret_.API Keys section in the Context.dev dashboard
3

Expose it as an environment variable

The SDKs, MCP server, and curl examples read CONTEXT_DEV_API_KEY from the environment:
terminal
export CONTEXT_DEV_API_KEY="ctxt_secret_..."
The official SDKs read CONTEXT_DEV_API_KEY first and fall back to CONTEXT_API_KEY if it isn’t set, so exporting CONTEXT_DEV_API_KEY alone is enough. It’s also the doc standard and what the MCP server and curl examples use.
Never call the Context.dev API directly from a browser. The key would be visible to anyone with devtools. Always proxy through your backend.

Copy the prompt

Run your agent in the directory where your application code is located and paste this prompt: