# GitLab project search API for AI agents (/use-cases/gitlab-project-search)

Ask "find GitLab projects about CI runners and show their open accessibility issues" and your agent searches projects, then searches issues in the top one.

This covers public projects. Private repositories need a saved GitLab login. The calls only read.

## What you can call

| Function                                       | What it does                                              |
| ---------------------------------------------- | --------------------------------------------------------- |
| `bowmark.providers.gitlab.searchProjects`      | Searches public projects by keyword, with stars and path. |
| `bowmark.providers.gitlab.searchIssues`        | Searches one project's issues.                            |
| `bowmark.providers.gitlab.searchMergeRequests` | Searches one project's merge requests.                    |

## Try it

```js
const projects = await bowmark.providers.gitlab.searchProjects({ query: "gitlab", limit: 5 });
const issues = await bowmark.providers.gitlab.searchIssues({ project: projects[0].pathWithNamespace, query: "accessibility", limit: 5 });
return { projects: projects.map(p => ({ path: p.pathWithNamespace, stars: p.stars })), issues: issues.map(i => i.title) };
```

Add the MCP server to Claude Code with this command, then ask your agent. Other clients are on [Installation](/docs/installation).

```sh
claude mcp add bowmark --transport http https://api.bowmark.ai/mcp --header "Authorization: Bearer $BOWMARK_API_KEY"
```

## FAQ

### Does it need an API key?

No, for public projects.

### Can it read private repos?

Yes, with a saved login. See [Signed-in sites](/docs/signed-in-sites).

### What does it cost?

Your first $10 is free, then you pay per call. See [Pricing](/docs/pricing).

## Next

Follow the [Quickstart](/docs/quickstart), or see [Websites without an API](/use-cases/websites-without-an-api).
