Homebrew Age MCP Server

An MCP server for querying [Apache AGE](https://age.apache.org/) graphs in PostgreSQL.

Local serverstdioPython

What is the Homebrew Age MCP Server?

An MCP server for querying Apache AGE graphs in PostgreSQL.

Configuration and credentials

  • Python 3.13 or later - PostgreSQL with the Apache AGE extension installed and loaded - A database role restricted to the graphs and operations the MCP client needs Enable AGE in the target database:

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
read-age-cypherRun a validated, parameterized, paginated read-only Cypher query
list-age-graphsList Apache AGE graphs
get-age-schemaInspect counts, directions, and sampled property types
write-age-cypherRun Cypher containing a mutating clause
create-age-graphCreate a graph
drop-age-graphPermanently drop a graph

How to install the Homebrew Age MCP Server

{
  "mcpServers": {
    "age_manager": {
      "command": "age_mcp_server",
      "env": {
        "PG_CONNECTION_STRING": "host=db.example port=5432 dbname=postgres user=age_reader sslmode=require",
        "PGPASSWORD": "YOUR_PGPASSWORD"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Python 3.13 or later - PostgreSQL with the Apache AGE extension installed and loaded - A database role restricted to the graphs and operations the MCP client needs Enable AGE in the target database:
VariableDescriptionRequired
PG_CONNECTION_STRINGDeclared in the maintainer’s client configuration.Check documentation
PGPASSWORDDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Homebrew Age to read-age-cypher.”
  • “Use Homebrew Age to list-age-graphs.”
  • “Use Homebrew Age to get-age-schema.”

Frequently asked questions

An MCP server for querying [Apache AGE](https://age.apache.org/) graphs in PostgreSQL. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.