Skip to content

For agents and the people who build them

Connect Lattice to Claude Code

One command, the header that carries your key, and a first question to check it works.

2 minute read

Add the server

Replace YOUR_KEY with the trial key you were emailed. Without a key, discovery still works, so you can see the tools first.

claude mcp add --transport http lattice https://lattice.namiq.io/mcp --header "X-API-Key: YOUR_KEY"

Check it

Start Claude Code and ask:

  • You should see the graph_lookup tool called, then graph_path or graph_neighbors.
  • If the answer says you are over a limit, it names a link. A person opens it, verifies the account and accepts the beta terms, and the limits triple. Do not have the agent open it.
Look up CVE-2021-44228 with Lattice. Which ATT&CK techniques does the graph associate with it, and for each say whether a source declared the link or it was inferred.

Make it report the basis of each link

The prompt that makes an agent say "likely" for inferred links is on the agent guide. Add it to your instructions once.

Where to go next