MCP for Codex

Use Datamagnet in Codex: live people and company data

Two commands give the Codex CLI live professional profiles, company pages, posts and ICP search, so it can work with real records instead of made-up ones.

Server URL
https://mcp.datamagnet.co/mcp

How do I connect Codex to Datamagnet?

Run codex mcp add datamagnet --url https://mcp.datamagnet.co/mcp, then codex mcp login datamagnet and approve the sign-in in your browser. Where no browser is available, add the server with --bearer-token-env-var pointing at an environment variable that holds your Datamagnet API key.

Sign-in
OAuth or API key
Tools
19
To start
10 free credits

Set up Datamagnet in Codex

A recent version of the Codex CLI.

  1. 1

    Add the server.

    Terminal
    codex mcp add datamagnet --url https://mcp.datamagnet.co/mcp
  2. 2

    Sign in. Your browser opens; approve the connection.

    Terminal
    codex mcp login datamagnet

Use an API key instead

For machines where a browser sign-in is not possible, such as a server or CI job. Create a key on your API keys page; a dedicated key per tool lets you revoke one without breaking the others.

Terminal
export DATAMAGNET_API_KEY=YOUR_API_KEY
codex mcp add datamagnet --url https://mcp.datamagnet.co/mcp \
  --bearer-token-env-var DATAMAGNET_API_KEY

Tools you get in Codex

19 tools, each priced up front so Codex can plan within your balance. Credits are charged only when a call succeeds.

ToolWhat it doesCredits
People
get_person_profileA person's profile: name, headline, current role and company, location, experience and education.1 credit (+2 per optional add-on)
get_person_activityWhat a person recently posted, commented on, reacted to or published as an article.10 credits per page
Companies
get_company_profileA company page: industry, headcount, headquarters, specialties and recent updates.1 credit (+10 insights, +5 funding)
get_company_postsPosts from a company page, with text, media and engagement counts.10 credits per page
get_company_funding_roundsFunding history from a web domain: amount, round type and announcement date.5 credits
Posts and jobs
get_postOne post by URL: author, text, media, engagement counts and publish time.1 credit
get_post_engagementThe people who commented on, reacted to or reposted a post.10 credits per page
get_job_detailsOne job posting: title, description, location, seniority, applicant counts and hiring company.1 credit (+1 hiring team)
Search
search_postsPosts by keyword, author, company, employer, mention, industry or date, 10 a page with engagement counts.10 credits per page
search_peoplePeople who match an ideal customer profile, using plain-language filters.10 credits per page
search_companiesCompanies that match an ideal customer profile.10 credits per page
list_filter_valuesEvery accepted value for the search filters.Free
suggest_filter_valuesMatching values for one filter: company, job title, location, school, technology or function.1 credit
Signals and account
create_signalStart a monitor for job changes, new posts or engagement with posts.Free to create
list_signalsYour monitors, and whether each is active or paused.Free
list_signal_leadsThe leads your engagement monitors have found.Free
update_signalPause, resume, rename or edit a monitor.Free
delete_signalDelete a monitor permanently.Free
check_creditsYour remaining, total and used credits.Free

Every data tool is read-only and returns public data. Datamagnet never signs in to your own social accounts, and it cannot post, message or look up email addresses and phone numbers. The only tools that change anything are the signal tools, which manage your own Datamagnet monitors and are marked as write actions. Optional add-ons on profiles and companies are charged only when they return data; see pricing.

Try asking Codex

“Fetch the company profile for <company page URL> and add its headcount and industry to accounts.csv.”

“Get the job posting at <job URL>, including its hiring team.”

“Check my credits, then look up these three profiles: <URLs>.”

Replace the placeholders in angle brackets with a real profile, company page, post or job URL.

Frequently asked questions

With OAuth by default: codex mcp login datamagnet opens Datamagnet in your browser, you approve once, and Codex receives a short-lived token rather than your API key. On a server or in CI, add the server with --bearer-token-env-var so Codex reads a Datamagnet API key from the environment.

New accounts get 10 free credits, with no credit card. After that, plans are $39, $99 or $199 a month, or pay as you go from $0.02 per credit, and credits are charged only when a call succeeds. Each tool states its cost before it runs: a profile lookup is 1 credit and a search page is 10. Checking your balance and managing signal monitors are free, and the balance is shared with the Datamagnet API.

Lookups run against public professional data when your assistant calls them, not against a quarterly snapshot. Profile and company lookups take a freshness setting: by default they can return a stored copy, if-recent returns a profile no older than 29 days, and never forces a live read. Ask for the latest data and the assistant can set it.

It does not look up email addresses or phone numbers, and it cannot post, comment, react or send messages for you. It never signs in to your own LinkedIn or any other social account: it reads public profiles, company pages and posts only. The only things it can change are your own Datamagnet signal monitors, and those tools are marked as write actions so your client can ask you to confirm first.

Give Codex live people and company data

10 free credits, no credit card. Connected in under two minutes.

  • 19 tools, priced up front
  • Charged only on success
  • Plans from $39/month or pay as you go

Interactive Demo

~15 minutes

1

Create an account

1 min
2

Add the server to Codex

1 min
3

Ask your first question

now