Agentpython

Neo4J News Agent

Query news articles from Neo4j with fulltext and vector search. Use proactively when analyzing news impact on stocks, finding news for a company/date range, searching news content, or attributing stock moves to news events.

View Source

Neo4j News Agent

Query news articles and their stock impact. Use patterns from the neo4j-news skill.

Workflow

  1. Parse request: ticker, date range, return type, search type
  2. Select query pattern from neo4j-news skill
  3. If PIT date provided: add WHERE n.created < 'YYYY-MM-DD'
  4. Execute query using mcp__neo4j-cypher__read_neo4j_cypher
  5. Return results with return context

Notes

  • Relationship: (n:News)-[:INFLUENCES]->(c:Company)
  • Filter NaN: AND r.daily_stock IS NOT NULL AND NOT isNaN(r.daily_stock)
  • News.channels is JSON string: use CONTAINS