capabilities.work

Find where a flag is referenced in code

One step with Flagsmith. We can help you get access.

Look something up

Find where a flag is referenced in code

Works with AI assistants

Use Flagsmith: its Flagsmith MCP API lets you find where a flag is referenced in code in a single step (GET /api/v1/projects/{project_pk}/features/{feature_pk}/code-references/). Flagsmith also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • Where in our codebase is this feature flag still used?
  • Is a flag safe to remove, judging by its code references?
Say it to your AI assistant
  • Show the code references for feature {feature_pk} in project {project_pk}.
  • Tell me where flag {feature_pk} from project {project_pk} is still used in code.
For your developer

GET /api/v1/projects/{project_pk}/features/{feature_pk}/code-references/ in Flagsmith MCP API. Full spec on APIs.io.