Lineai MCP server
io.github.lineai-intelligence/lineai-mcp-server·v1.4.0·37 starsAn MCP Server to utilize Lineai's rich software dependency data in your AI programming assistant.
37 stars268 downloads/wk
Reviews
Write oneNobody has reviewed Lineai yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Lineai tools (8)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
lineai-database-impactAnalyze impacts between code and database entities.
lineai-graph-capabilitiesFetch graph API capabilities/manifest from the Lineai server (GET).
lineai-graph-impactBounded graph impact from seed node ids (curated HTTP API).
lineai-graph-ownersLook up owners/reviewers for a graph node (curated HTTP API).
lineai-graph-path-explainExplain bounded paths between two graph nodes (curated HTTP API).
lineai-graph-searchSearch the Lineai knowledge graph (curated HTTP API).
lineai-graph-validate-change-scopeValidate whether a proposed change scope is safe given seed graph nodes (curated HTTP API).
lineai-method-impactAnalyze impacts of modifying a specific method within a given class or type.
Public scan report
scanner v0.1.10 · 2026-11-03 · same rubric, same numbers if you re-run it
- Code scan17 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 8 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
How Lineai compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 85/100
- higher than 70% of 48,255 servers
- Tools
- 8
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 37
- more than 93% of 28,688 servers
- Downloads a week
- 268
- more than 79% of 12,191 servers with a package
What its tools let an agent do: 8 read
Release history: 2 versions in the registry since 2026-08-12, latest 2026-10-13, typically one every 62 days.
Install Lineai in Claude Code, Cursor or VS Code
claude mcp add lineai-mcp-server -- uvx lineai-mcp-server
What the publisher says
From the Lineai repository's README, as published. We do not edit it. Read it on GitHub
lineai-mcp-server
An MCP Server to utilize Lineai's rich software dependency data in your AI programming assistant.
Components
Tools
The server implements eight tools: two impact tools plus six graph tools backed by the Lineai graph HTTP API.
Code Analysis Tools
- lineai-method-impact: Pulls an impact assessment from the Lineai server's APIs for your code.
- Takes the given "method" that you're working on and its associated "class".
- lineai-database-impact: Analyzes impacts between code and database entities.
- Takes the database entity type (column, table, or view) and its name.
Graph API tools
These call POST / GET endpoints under /api/ai-retrieval/graph/ on the same host as LINEAISERVERHOST, using the same session auth as other MCP tools. If graph routes are not deployed, the server returns a clear “graph not available” style message (often after HTTP 404).
- lineai-graph-capabilities: GET — discover supported relationship types, limits, and flags for the workspace materialized view (materializedViewId defaults from LINEAIWORKSPACENAME like other tools).
- lineai-graph-search: Search nodes by text query / q and/or identityprefix; optional scanspace, limit, etc.
- lineai-graph-impact: Dependency / blast-radius style traversal from seednodeids.
- lineai-graph-path-explain: Shortest-path style explanation between fromnodeid and tonodeid.
- lineai-graph-validate-change-scope: Heuristic checklist / risk summary for a proposed change given seed nodes and proposedchangesummary.
- lineai-graph-owners: Resolve a node by nodeid or identityprefix and surface property fields whose names contain "owner".
Tool arguments accept snakecase aliases (for example materializedviewid, seednodeids) where noted in the MCP schema; request bodies sent to Lineai use camelCase** JSON keys.
Install
Pre Requisites
The MCP server relies upon Astral UV to run, please install
MacOS Workaround for uvx
There is a known issue with uvx on MacOS where the Lineai MCP server may fail to launch in certain IDEs (such as Cursor), resulting in errors like: See issue #11
Failed to connect client closedThis appears to be a problem with Astral uvx running on MacOS. The following can be used as a workaround:
- Clone this project locally.
- Configure your mcp.json to use uv instead of uvx. For example:
{
"mcpServers": {
"lineai-mcp-server": {
"type": "stdio",
"command": "<PATH_TO_UV>/uv",
"args": [
"--directory",
"<PATH_TO_THIS_REPO>/lineai-mcp-server-main",
"run",
"lineai-mcp-server"
],
"env": {
"LINEAI_SERVER_HOST": "<url to the server e.g. https://myco.app.lineai.net>",
"LINEAI_USERNAME": "<my username>",
"LINEAI_PASSWORD": "<my password>",
"LINEAI_WORKSPACE_NAME": "<my workspace>",
"LINEAI_DEBUG_MODE": "true"
}
}
}
}- Restart Cursor.
- Ensure the Cursor Global Rule for Lineai is in place.
- Open the MCP tab in Cursor and refresh the lineai-mcp-server.
- Ask Cursor to make a code change in an existing class. The MCP server should now run the impact analysis successfully.
Configuration for Different IDEs
Visual Studio Code Configuration
To configure this MCP server in VS Code:
- First, ensure you have GitHub Copilot agent mode enabled in VS Code.
- Create a .vscode/mcp.json file in your workspace with the following configuration:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Grade history
- 2026-11-03restoreB → Ascore 85
Lineai: common questions
- Is Lineai MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the Lineai safety report
- How do I install Lineai?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Lineai need an API key?
- Yes. The registry entry asks for
LINEAI_PASSWORD. - Is Lineai maintained?
- The last commit was 8 days ago (2026-10-26). The latest release is v1.4.0.
- How does Lineai compare with other MCP servers?
- safety score 85/100 (higher than 70% of 48,255 servers); tools 8 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.