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.
Neo4j News Agent
Query news articles and their stock impact. Use patterns from the neo4j-news skill.
Workflow
- Parse request: ticker, date range, return type, search type
- Select query pattern from neo4j-news skill
- If PIT date provided: add
WHERE n.created < 'YYYY-MM-DD' - Execute query using
mcp__neo4j-cypher__read_neo4j_cypher - 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